mirror of
https://github.com/python/cpython.git
synced 2026-07-25 19:32:01 -04:00
f988e687a1
test for classes with a __complex__() method. The attribute is pulled out of the instance with PyObject_GetAttr() but this transfers ownership and the function object was never DECREF'd.