[issue10073] calendar.isleap() not checking parameter type

Boštjan Mejak report at bugs.python.org
Tue Oct 19 19:37:43 CEST 2010


Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:

I am applying a patch that only fixes the docstrings to match the return value of calendar.isleap(). The return value of isleap() is not 1 or 0 -- it is True or False. Please apply the patch. Thank you.

----------
Added file: http://bugs.python.org/file19285/isleap-docstrings.patch

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


More information about the Python-bugs-list mailing list