summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-25 15:02:36 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-25 15:02:36 +0300
commitecb90182f59c4929a395759896d1abea4e408f39 (patch)
treee58592342e441945c079ca185ab8f604043d4138 /Lib/calendar.py
parenta6eba11f866f0575e18398d6fdc2cbd47ccb2495 (diff)
parent7ff51bd2b8b8407942e3bab2c9267cc8b95f06be (diff)
downloadcpython-git-ecb90182f59c4929a395759896d1abea4e408f39.tar.gz
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 92149b7bfe..07594f3a83 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):
"""