diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-11-12 10:01:33 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-11-12 10:01:33 +0000 |
commit | edc526c161a47203a3a1fdabd1a3e52374530b09 (patch) | |
tree | 90b554ee5a252e43e760170cf38dcf24a73e3701 /Lib/calendar.py | |
parent | 63bf149a264a246f109683d6ac54f84859a89660 (diff) | |
download | cpython-git-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.gz |
Fix TextCalendar.prweek(). This closes issue #1427.
Diffstat (limited to 'Lib/calendar.py')
-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 acd463fee7..736bd233ad 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): """ |