summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-18 16:36:28 +0000
committerGuido van Rossum <guido@python.org>2003-02-18 16:36:28 +0000
commitf93cf38b20ea60d67178d49391c70bf957ccc996 (patch)
tree85f3e9cbe987d42cf995733338a232ea1abafab5 /Python/errors.c
parent3aeb9dd7f3afea3470e8b6a884bea5a99a8affc6 (diff)
downloadcpython-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