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

Retro report at bugs.python.org
Sun Oct 17 00:15:14 CEST 2010


Retro <vinetouu at gmail.com> added the comment:

Please leave this function as is because it works just fine.

>>> calendar.isleap(2011)
False


The argument for isleap() must not be in quotes. That's all.

----------
nosy: +Retro

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


More information about the Python-bugs-list mailing list