summaryrefslogtreecommitdiff
path: root/Lib/calendar.py
diff options
context:
space:
mode:
authordoko <doko@ubuntu.com>2017-02-01 13:02:16 +0100
committerdoko <doko@ubuntu.com>2017-02-01 13:02:16 +0100
commit2e835c97b60f5f554ea4742abc1c0f801567f1b9 (patch)
treee57b9697de6321a39541c2e947940e275ca844d3 /Lib/calendar.py
parentba5a055a00d91a449a23ae14dd468e9b769a6b74 (diff)
parent75a56cd1847142d9c893b6df5fb674f54b34d9ed (diff)
downloadcpython-2e835c97b60f5f554ea4742abc1c0f801567f1b9.tar.gz
Merge 3.6
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 07594f3a83..28ac56fdbe 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -267,7 +267,7 @@ class TextCalendar(Calendar):
"""
Print a single week (no newline).
"""
- print(self.formatweek(theweek, width), end=' ')
+ print(self.formatweek(theweek, width), end='')
def formatday(self, day, weekday, width):
"""
@@ -371,7 +371,7 @@ class TextCalendar(Calendar):
def pryear(self, theyear, w=0, l=0, c=6, m=3):
"""Print a year's calendar."""
- print(self.formatyear(theyear, w, l, c, m))
+ print(self.formatyear(theyear, w, l, c, m), end='')
class HTMLCalendar(Calendar):