summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-02-05 09:39:16 (GMT)
committerGuido van Rossum <guido@python.org>1993-02-05 09:39:16 (GMT)
commit995c33a2bbb540729e3330ed8f11365e578ab5a0 (patch)
tree4aadd77c40846a13accfbb85f760f0fccf89654e /Lib
parent3a997279d50d98bc403103d3467740f69a5fc47f (diff)
downloadcpython-995c33a2bbb540729e3330ed8f11365e578ab5a0.zip
cpython-995c33a2bbb540729e3330ed8f11365e578ab5a0.tar.gz
cpython-995c33a2bbb540729e3330ed8f11365e578ab5a0.tar.bz2
aiff.py, calendar.py: change functions taking a tuple to really take a
tuple (now that it makes a difference to Python)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/calendar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 13c8bbb..a2bd398 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -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`