]> granicus.if.org Git - python/commit
Cleanup.
authorGuido van Rossum <guido@python.org>
Sun, 8 Apr 2007 23:59:06 +0000 (23:59 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 8 Apr 2007 23:59:06 +0000 (23:59 +0000)
commit4f0db6e4a1fa2cd4f564192d687c9e1725129e03
tree11de35a647d4637b805237fb9421c6ef76b210b3
parentb04281592ef4880078ba40bb06f27486ee4dc6eb
Cleanup.
Add closed attribute.
Support int argument to open() -- wrapping a file descriptor.
For b/w compat, support readline(n).
Support readlines() and readlines(n).
Flush on __del__.
Added some XXX comments.
Lib/io.py