diff options
author | Guido van Rossum <guido@python.org> | 2001-04-15 13:32:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-04-15 13:32:27 (GMT) |
commit | 2b5ff073ab9c232307f82dfd1cab0589ef293df5 (patch) | |
tree | a48dd2e902aa173e42061dd07effbfaad4ea1996 /Demo | |
parent | fc349862d43c423ea575d73b04b22914cbdb7b2f (diff) | |
download | cpython-2b5ff073ab9c232307f82dfd1cab0589ef293df5.zip cpython-2b5ff073ab9c232307f82dfd1cab0589ef293df5.tar.gz cpython-2b5ff073ab9c232307f82dfd1cab0589ef293df5.tar.bz2 |
Get rid of the seek() method on the _Mailbox class. This was a
cut-and-paste copy of the seek() method on the _Subfile class, but it
didn't make one bit of sense: it sets self.pos, which is not used in
this class or its subclasses, and it uses self.start and self.stop,
which aren't defined on this class or its subclasses. This is purely
my own fault -- I added this in rev 1.4 and apparently never tried to
use it. Since it's not documented, and of very questionable use given
that there's no tell(), I'm ripping it out.
This resolves SF bug 416199 by Andrew Dalke: mailbox.py seek problems.
Diffstat (limited to 'Demo')
0 files changed, 0 insertions, 0 deletions