summaryrefslogtreecommitdiffstats
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-25 12:00:52 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-25 12:00:52 (GMT)
commit7ff51bd2b8b8407942e3bab2c9267cc8b95f06be (patch)
tree309cc779cf34977bf0aec44b944146186ee29598 /Lib/calendar.py
parentf3ebc9fe3fae3d44da4d0da9764ed7c033115f12 (diff)
downloadcpython-7ff51bd2b8b8407942e3bab2c9267cc8b95f06be.zip
cpython-7ff51bd2b8b8407942e3bab2c9267cc8b95f06be.tar.gz
cpython-7ff51bd2b8b8407942e3bab2c9267cc8b95f06be.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index b5472f3..76cf8de 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -312,7 +312,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):
"""