[issue28255] TextCalendar.prweek/month/year outputs an extra whitespace character
Xiang Zhang
report at bugs.python.org
Fri Sep 23 04:51:07 EDT 2016
New submission from Xiang Zhang:
Currently TextCalendar.prweek/month/year outputs an extra whitespace which makes the output weird:
>>> calendar.TextCalendar().prweek([(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7)], 2)
1 2 3 4 5 6 7 >>> calendar.TextCalendar().prmonth(2016,9)
September 2016
Mo Tu We Th Fr Sa Su
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
>>>
----------
components: Library (Lib)
files: calendar_whitespace.patch
keywords: patch
messages: 277256
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: TextCalendar.prweek/month/year outputs an extra whitespace character
type: enhancement
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44790/calendar_whitespace.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28255>
_______________________________________
More information about the Python-bugs-list
mailing list