From 995c33a2bbb540729e3330ed8f11365e578ab5a0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 5 Feb 1993 09:39:16 +0000 Subject: aiff.py, calendar.py: change functions taking a tuple to really take a tuple (now that it makes a difference to Python) --- Lib/calendar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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` -- cgit v0.12