]> granicus.if.org Git - python/commit
Bugfix candidate.
authorGuido van Rossum <guido@python.org>
Sun, 10 Mar 2002 14:11:16 +0000 (14:11 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 10 Mar 2002 14:11:16 +0000 (14:11 +0000)
commitdfce3bf908f9f6e8b20d54ca5f724994f6790f8a
tree8b9847cc6c081fa72af60f7f5b59f1f4f295fa25
parentd674e17e961e0f466678106861627ce3d03840ca
Bugfix candidate.
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 *.
Objects/typeobject.c