summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-07 20:13:56 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-07 20:13:56 (GMT)
commit8755582ef1f5e5af95e162faa772c94c9baa6f33 (patch)
treef682f66e79dc0ecd4e58630ff8ace6b2cef062ee /Lib
parent65ab98c42788057488cd923f7cc0b0c6373c05e3 (diff)
downloadcpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.zip
cpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.tar.gz
cpython-8755582ef1f5e5af95e162faa772c94c9baa6f33.tar.bz2
add seekable option to __init__
Diffstat (limited to 'Lib')
-rw-r--r--Lib/mimetools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 2844fa4..71d0087 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -12,8 +12,8 @@ import tempfile
class Message(rfc822.Message):
- def __init__(self, fp):
- rfc822.Message.__init__(self, fp)
+ def __init__(self, fp, seekable = 1):
+ rfc822.Message.__init__(self, fp, seekable)
self.encodingheader = \
self.getheader('content-transfer-encoding')
self.typeheader = \