diff options
author | Guido van Rossum <guido@python.org> | 2003-02-18 16:36:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-18 16:36:28 (GMT) |
commit | 6921eca227ac2283ebcdf98e10aebea57bd5daf3 (patch) | |
tree | e705276019bc84a0d827dc0aa31b8dc1c2d4dcff /Objects/object.c | |
parent | 55dc26cbc764574bf1cca7e74bb511d623e1af7d (diff) | |
download | cpython-6921eca227ac2283ebcdf98e10aebea57bd5daf3.zip cpython-6921eca227ac2283ebcdf98e10aebea57bd5daf3.tar.gz cpython-6921eca227ac2283ebcdf98e10aebea57bd5daf3.tar.bz2 |
Make PyNumber_Check() a bit more careful, since all sorts of things
now have tp_as_number. Check for nb_int or nb_float.
Diffstat (limited to 'Objects/object.c')
0 files changed, 0 insertions, 0 deletions