diff options
author | Guido van Rossum <guido@python.org> | 1998-06-10 21:31:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-06-10 21:31:01 (GMT) |
commit | c7bb8577c7ccc48fa1e1db0204ae280fb81b075d (patch) | |
tree | 83ec3ede73421547d57cd979d3dbc961e4c69a98 /Objects | |
parent | 3e5fe422cc11796ef5f6e0c4c5b143488a50f5cc (diff) | |
download | cpython-c7bb8577c7ccc48fa1e1db0204ae280fb81b075d.zip cpython-c7bb8577c7ccc48fa1e1db0204ae280fb81b075d.tar.gz cpython-c7bb8577c7ccc48fa1e1db0204ae280fb81b075d.tar.bz2 |
Some changes suggested/provided by Eric Raymond:
- explain seekable
- when seekable==1, test fp.tell() and set it to 0 if that fails
- support overridable method iscomment(line) to weed out comments
- check for unread() method on file object before trying to seek
And one of my own:
- Add a get() method which behaves like a dictionary's get(); this is
actually implemented by giving getheader() an optional second argument
to specify the default, and aliasing get to getheader.
Diffstat (limited to 'Objects')
0 files changed, 0 insertions, 0 deletions