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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edc526c161a47203a3a1fdabd1a3e52374530b09;p=python Fix TextCalendar.prweek(). This closes issue #1427. --- diff --git a/Lib/calendar.py b/Lib/calendar.py index acd463fee7..736bd233ad 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): """