[issue28255] TextCalendar.prweek/month/year outputs an extra whitespace character

Xiang Zhang report at bugs.python.org
Fri Sep 23 05:54:55 EDT 2016


Xiang Zhang added the comment:

> prweek() in Python 2 adds a final space. Python 3 version looks correct.

Really? `print '1',` in my mind will output a newline and no trailing space. And I think we should also add a comma in pryear in py2.

----------
Added file: http://bugs.python.org/file44791/calendar_whitespace_v2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28255>
_______________________________________


More information about the Python-bugs-list mailing list