summaryrefslogtreecommitdiffstats
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-12 15:01:33 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-12 15:01:33 (GMT)
commit32fbe599784f80f08e7ecd4ebdde158797f0a5ff (patch)
tree9bdb01f6a4f303c0294fd4dbce7ee0d878fcfb32 /Lib/calendar.py
parent96f31636f4af949dd0975c9381d284915c9d76f6 (diff)
downloadcpython-32fbe599784f80f08e7ecd4ebdde158797f0a5ff.zip
cpython-32fbe599784f80f08e7ecd4ebdde158797f0a5ff.tar.gz
cpython-32fbe599784f80f08e7ecd4ebdde158797f0a5ff.tar.bz2
Merged revisions 58939-58946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r58940 | martin.v.loewis | 2007-11-12 05:53:02 +0100 (Mon, 12 Nov 2007) | 3 lines Only set rl_completion_display_matches_hook if there is a Python hook function. Fixes #1425. ........ r58941 | martin.v.loewis | 2007-11-12 06:14:05 +0100 (Mon, 12 Nov 2007) | 2 lines Patch #1418: Make the AC_REPLACE_FUNCS object files actually work. ........ r58942 | walter.doerwald | 2007-11-12 11:01:33 +0100 (Mon, 12 Nov 2007) | 2 lines 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 e811518..071bc06 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), end=' ')
+ print(self.formatweek(theweek, width), end=' ')
def formatday(self, day, weekday, width):
"""