[issue2343] Raise a Py3K warning when using a float where an int is expected
Benjamin Peterson
report at bugs.python.org
Sun Mar 23 00:12:27 CET 2008
Benjamin Peterson <musiccomposition at gmail.com> added the comment:
This is already implemented:
>>> [].insert(.5, 0)
__main__:1: DeprecationWarning: integer argument expected, got float
----------
nosy: +benjamin.peterson
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2343>
__________________________________
More information about the Python-bugs-list
mailing list