Backport r58942:

Fix TextCalendar.prweek(). This closes issue #1427.
This commit is contained in:
Walter Dörwald 2007-11-12 10:03:39 +00:00
parent d66350ad58
commit ad7363bed1
1 changed files with 1 additions and 1 deletions

View File

@ -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):
"""