[issue35406] calendar.nextmonth and calendar.prevmonth functions doesn't check if the month is valid

Serhiy Storchaka report at bugs.python.org
Tue Dec 4 06:06:57 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

prevmonth() and nextmonth() are internal functions. They are used only in itermonthdays3(), and the month is already checked before calling them.

----------
nosy: +belopolsky, rhettinger, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35406>
_______________________________________


More information about the Python-bugs-list mailing list