summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-14 01:00:51 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-14 01:00:51 (GMT)
commit474b19e2abc71c3ae0afd5e7a11006cf40b9c047 (patch)
treea8797e14eb0d401e15d9aee0d96066b5f0ff93c1 /Objects/complexobject.c
parent4180cf16499b3e5398e0cd9dc7b027b885a01db3 (diff)
downloadcpython-474b19e2abc71c3ae0afd5e7a11006cf40b9c047.zip
cpython-474b19e2abc71c3ae0afd5e7a11006cf40b9c047.tar.gz
cpython-474b19e2abc71c3ae0afd5e7a11006cf40b9c047.tar.bz2
Make sure that PyDict_GetItem[String]() *never* raises an exception.
If the argument is not a dictionary, simply return NULL. If the hash() on the key fails, clear the error.
Diffstat (limited to 'Objects/complexobject.c')
0 files changed, 0 insertions, 0 deletions