summaryrefslogtreecommitdiffstats
path: root/Lib/binhex.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-08-02 00:24:26 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-08-02 00:24:26 (GMT)
commit8dc04a4dd1fc0e8c5feaba7308eaf8b8c8df8373 (patch)
tree8a4de788c6c22e4d185f43b199735b44607fdf88 /Lib/binhex.py
parent8c7fe2d6f98908a597fec05767dc8a032c06dc61 (diff)
downloadcpython-8dc04a4dd1fc0e8c5feaba7308eaf8b8c8df8373.zip
cpython-8dc04a4dd1fc0e8c5feaba7308eaf8b8c8df8373.tar.gz
cpython-8dc04a4dd1fc0e8c5feaba7308eaf8b8c8df8373.tar.bz2
Merged revisions 77310-77311 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77310 | antoine.pitrou | 2010-01-05 01:22:44 +0200 (Tue, 05 Jan 2010) | 4 lines Issue #7092: Fix the DeprecationWarnings emitted by the standard library when using the -3 flag. Patch by Florent Xicluna. ........ r77311 | antoine.pitrou | 2010-01-05 01:28:16 +0200 (Tue, 05 Jan 2010) | 3 lines Kill a couple of "<>" ........
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r--Lib/binhex.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py
index 9059880..bd4e8b3 100644
--- a/Lib/binhex.py
+++ b/Lib/binhex.py
@@ -170,7 +170,8 @@ class _Rlecoderengine:
del self.ofp
class BinHex:
- def __init__(self, (name, finfo, dlen, rlen), ofp):
+ def __init__(self, name_finfo_dlen_rlen, ofp):
+ name, finfo, dlen, rlen = name_finfo_dlen_rlen
if type(ofp) == type(''):
ofname = ofp
ofp = open(ofname, 'w')