[Python-checkins] r65522 - python/trunk/Lib/aifc.py
brett.cannon
python-checkins at python.org
Mon Aug 4 23:33:00 CEST 2008
Author: brett.cannon
Date: Mon Aug 4 23:33:00 2008
New Revision: 65522
Log:
Remove tuple parameter unpacking in aifc to silence warnings under -3.
Modified:
python/trunk/Lib/aifc.py
Modified: python/trunk/Lib/aifc.py
==============================================================================
--- python/trunk/Lib/aifc.py (original)
+++ python/trunk/Lib/aifc.py Mon Aug 4 23:33:00 2008
@@ -665,7 +665,8 @@
## raise Error, 'cannot change parameters after starting to write'
## self._version = version
- def setparams(self, (nchannels, sampwidth, framerate, nframes, comptype, compname)):
+ def setparams(self, info):
+ nchannels, sampwidth, framerate, nframes, comptype, compname = info
if self._nframeswritten:
raise Error, 'cannot change parameters after starting to write'
if comptype not in ('NONE', 'ULAW', 'ALAW', 'G722'):
More information about the Python-checkins
mailing list