Kaydet (Commit) 995c33a2 authored tarafından Guido van Rossum's avatar Guido van Rossum

aiff.py, calendar.py: change functions taking a tuple to really take a

tuple (now that it makes a difference to Python)
üst 3a997279
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment