summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-02-05 09:39:16 +0000
committerGuido van Rossum <guido@python.org>1993-02-05 09:39:16 +0000
commit995c33a2bbb540729e3330ed8f11365e578ab5a0 (patch)
tree4aadd77c40846a13accfbb85f760f0fccf89654e /Lib/calendar.py
parent3a997279d50d98bc403103d3467740f69a5fc47f (diff)
downloadcpython-git-995c33a2bbb540729e3330ed8f11365e578ab5a0.tar.gz
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/calendar.py')
-rw-r--r--Lib/calendar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 13c8bbbd3f..a2bd398f45 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`