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.
........
This commit is contained in:
Christian Heimes 2007-11-12 15:01:33 +00:00
parent 96f31636f4
commit 32fbe59978
4 changed files with 49 additions and 41 deletions

View file

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