diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 12:02:36 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 12:02:36 (GMT) |
| commit | ecb90182f59c4929a395759896d1abea4e408f39 (patch) | |
| tree | e58592342e441945c079ca185ab8f604043d4138 /Lib/calendar.py | |
| parent | a6eba11f866f0575e18398d6fdc2cbd47ccb2495 (diff) | |
| parent | 7ff51bd2b8b8407942e3bab2c9267cc8b95f06be (diff) | |
| download | cpython-ecb90182f59c4929a395759896d1abea4e408f39.zip cpython-ecb90182f59c4929a395759896d1abea4e408f39.tar.gz cpython-ecb90182f59c4929a395759896d1abea4e408f39.tar.bz2 | |
Issue #28255: calendar.TextCalendar().prmonth() no longer prints a space
at the start of new line after printing a month's calendar. Patch by
Xiang Zhang.
Diffstat (limited to 'Lib/calendar.py')
| -rw-r--r-- | Lib/calendar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py index 92149b7..07594f3 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py @@ -314,7 +314,7 @@ class TextCalendar(Calendar): """ Print a month's calendar. """ - print(self.formatmonth(theyear, themonth, w, l), end=' ') + print(self.formatmonth(theyear, themonth, w, l), end='') def formatmonth(self, theyear, themonth, w=0, l=0): """ |
