commit | 474b19e2abc71c3ae0afd5e7a11006cf40b9c047 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu May 14 01:00:51 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu May 14 01:00:51 1998 +0000 |
tree | a8797e14eb0d401e15d9aee0d96066b5f0ff93c1 | |
parent | 4180cf16499b3e5398e0cd9dc7b027b885a01db3 [diff] |
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.