From: Walter Dörwald Date: Mon, 12 Nov 2007 10:01:33 +0000 (+0000) Subject: Fix TextCalendar.prweek(). This closes issue #1427. X-Git-Tag: v2.6a1~1062 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edc526c161a47203a3a1fdabd1a3e52374530b09;p=thirdparty%2FPython%2Fcpython.git Fix TextCalendar.prweek(). This closes issue #1427. --- diff --git a/Lib/calendar.py b/Lib/calendar.py index acd463fee7ee..736bd233add9 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py @@ -263,7 +263,7 @@ class TextCalendar(Calendar): """ Print a single week (no newline). """ - print self.week(theweek, width), + print self.formatweek(theweek, width), def formatday(self, day, weekday, width): """