-
matt@zope.com authored
if the object is a dictionary, and do a PyDict_GetItem instead if possible. This avoids the error machinery overhead if the key is not found in the dictionary. PyDict_GetItem returns a borrowed reference, so the refcount is also bumped in these cases.
49f5d5b6