]> granicus.if.org Git - python/commit
Make PyNumber_Check() a bit more careful, since all sorts of things
authorGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 16:36:28 +0000 (16:36 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 16:36:28 +0000 (16:36 +0000)
commit6921eca227ac2283ebcdf98e10aebea57bd5daf3
treee705276019bc84a0d827dc0aa31b8dc1c2d4dcff
parent55dc26cbc764574bf1cca7e74bb511d623e1af7d
Make PyNumber_Check() a bit more careful, since all sorts of things
now have tp_as_number.  Check for nb_int or nb_float.
Misc/NEWS
Objects/abstract.c