mirror of https://github.com/python/cpython
Fix TextCalendar.prweek(). This closes issue #1427.
This commit is contained in:
parent
63bf149a26
commit
edc526c161
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue