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:
Guido van Rossum 1993-02-05 09:39:16 +00:00
parent 3a997279d5
commit 995c33a2bb
1 changed files with 2 additions and 1 deletions

View 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`