From: Guido van Rossum Date: Fri, 5 Feb 1993 09:39:16 +0000 (+0000) Subject: aiff.py, calendar.py: change functions taking a tuple to really take a X-Git-Tag: v0.9.9~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=995c33a2bbb540729e3330ed8f11365e578ab5a0;p=thirdparty%2FPython%2Fcpython.git aiff.py, calendar.py: change functions taking a tuple to really take a tuple (now that it makes a difference to Python) --- diff --git a/Lib/calendar.py b/Lib/calendar.py index 13c8bbbd3f24..a2bd398f45f4 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`