]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
aiff.py, calendar.py: change functions taking a tuple to really take a
authorGuido van Rossum <guido@python.org>
Fri, 5 Feb 1993 09:39:16 +0000 (09:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Feb 1993 09:39:16 +0000 (09:39 +0000)
tuple (now that it makes a difference to Python)

Lib/calendar.py

index 13c8bbbd3f24e00a130de6c97afc7ed997a63536..a2bd398f45f424b5a93fda30c13e4f3ccda8e012 100644 (file)
@@ -91,7 +91,8 @@ def zd(s):
 
 # Turn calendar time as returned by gmtime() into a string
 # (the yday parameter is for compatibility with gmtime())
-def asctime(year, month, day, hours, mins, secs, yday, wday):
+def asctime(arg):
+       year, month, day, hours, mins, secs, yday, wday = arg
        s = day_abbr[wday] + ' ' + month_abbr[month] + ' ' + zd(`day`)
        s = s + ' ' + dd(`hours`) + ':' + dd(`mins`) + ':' + dd(`secs`)
        return s + ' ' + `year`