commit | ad7363bed130387194edde4b4d9b436a70c4fb27 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Mon Nov 12 10:03:39 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Mon Nov 12 10:03:39 2007 +0000 |
tree | d8e5d59578fc2b63dd87179f613d5d19ba320716 | |
parent | d66350ad58b38dce859120c0fcdbff1ed7279a2d [diff] |
Backport r58942: Fix TextCalendar.prweek(). This closes issue #1427.
diff --git a/Lib/calendar.py b/Lib/calendar.py index 8f2239c..0461523 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py
@@ -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): """