diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-11-12 10:01:33 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-11-12 10:01:33 (GMT) |
commit | edc526c161a47203a3a1fdabd1a3e52374530b09 (patch) | |
tree | 90b554ee5a252e43e760170cf38dcf24a73e3701 | |
parent | 63bf149a264a246f109683d6ac54f84859a89660 (diff) | |
download | cpython-edc526c161a47203a3a1fdabd1a3e52374530b09.zip cpython-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.gz cpython-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.bz2 |
Fix TextCalendar.prweek(). This closes issue #1427.
-rw-r--r-- | Lib/calendar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py index acd463f..736bd23 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): """ |