[Python-checkins] r58943 - python/branches/release25-maint/Lib/calendar.py

walter.doerwald python-checkins at python.org
Mon Nov 12 11:03:39 CET 2007


Author: walter.doerwald
Date: Mon Nov 12 11:03:39 2007
New Revision: 58943

Modified:
   python/branches/release25-maint/Lib/calendar.py
Log:
Backport r58942:
Fix TextCalendar.prweek(). This closes issue #1427.


Modified: python/branches/release25-maint/Lib/calendar.py
==============================================================================
--- python/branches/release25-maint/Lib/calendar.py	(original)
+++ python/branches/release25-maint/Lib/calendar.py	Mon Nov 12 11:03:39 2007
@@ -263,7 +263,7 @@
         """
         Print a single week (no newline).
         """
-        print self.week(theweek, width),
+        print self.formatweek(theweek, width),
 
     def formatday(self, day, weekday, width):
         """


More information about the Python-checkins mailing list