mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
add seekable option to __init__
This commit is contained in:
parent
65ab98c427
commit
8755582ef1
1 changed files with 2 additions and 2 deletions
|
@ -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 = \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue