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

index acd463fee7ee9096c044f5b711691c9c3a1307c4..736bd233add9265adb7808b2085fb91354356f47 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):
         """