From: Walter Dörwald Date: Mon, 12 Nov 2007 10:03:39 +0000 (+0000) Subject: Backport r58942: X-Git-Tag: v2.5.2c1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad7363bed130387194edde4b4d9b436a70c4fb27;p=python Backport r58942: Fix TextCalendar.prweek(). This closes issue #1427. --- diff --git a/Lib/calendar.py b/Lib/calendar.py index 8f2239c7a3..0461523261 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): """