summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-11-12 10:01:33 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-11-12 10:01:33 +0000
commitedc526c161a47203a3a1fdabd1a3e52374530b09 (patch)
tree90b554ee5a252e43e760170cf38dcf24a73e3701 /Lib/calendar.py
parent63bf149a264a246f109683d6ac54f84859a89660 (diff)
downloadcpython-git-edc526c161a47203a3a1fdabd1a3e52374530b09.tar.gz
Fix TextCalendar.prweek(). This closes issue #1427.
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py2
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):
"""