summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-11-12 10:01:33 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-11-12 10:01:33 (GMT)
commitedc526c161a47203a3a1fdabd1a3e52374530b09 (patch)
tree90b554ee5a252e43e760170cf38dcf24a73e3701
parent63bf149a264a246f109683d6ac54f84859a89660 (diff)
downloadcpython-edc526c161a47203a3a1fdabd1a3e52374530b09.zip
cpython-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.gz
cpython-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.bz2
Fix TextCalendar.prweek(). This closes issue #1427.
-rw-r--r--Lib/calendar.py2
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):
"""