mirror of
https://github.com/python/cpython.git
synced 2026-05-29 23:56:56 -04:00
dfce3bf908
Adapter from SF patch 528038; fixes SF bug 527816. The wrapper for __nonzero__ should be wrap_inquiry rather than wrap_unaryfunc, since the slot returns an int, not a PyObject *.