]> granicus.if.org Git - python/commitdiff
Backport r58942:
authorWalter Dörwald <walter@livinglogic.de>
Mon, 12 Nov 2007 10:03:39 +0000 (10:03 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Mon, 12 Nov 2007 10:03:39 +0000 (10:03 +0000)
Fix TextCalendar.prweek(). This closes issue #1427.

Lib/calendar.py

index 8f2239c7a3f32e85f01fee1e43188a9fce8fd22d..0461523261f5092c9b04f927273756d35e0e2775 100644 (file)
@@ -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):
         """