aiff.py, calendar.py: change functions taking a tuple to really take a
tuple (now that it makes a difference to Python)
This commit is contained in:
parent
3a997279d5
commit
995c33a2bb
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue