diff options
author | Guido van Rossum <guido@python.org> | 2003-02-18 16:36:28 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-18 16:36:28 +0000 |
commit | f93cf38b20ea60d67178d49391c70bf957ccc996 (patch) | |
tree | 85f3e9cbe987d42cf995733338a232ea1abafab5 /Python/errors.c | |
parent | 3aeb9dd7f3afea3470e8b6a884bea5a99a8affc6 (diff) | |
download | cpython-f93cf38b20ea60d67178d49391c70bf957ccc996.tar.gz |
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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions