]> granicus.if.org Git - python/commit
Bugfix candidate.
authorGuido van Rossum <guido@python.org>
Mon, 11 Mar 2002 00:07:13 +0000 (00:07 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 11 Mar 2002 00:07:13 +0000 (00:07 +0000)
commit15d529aec52276fe4df83aeda5b01e8df77344dc
treecb95fdfc0f15658249d4402c64d1f1269195f03a
parenta2168eceb0277f767877a0845537f6564f0410a0
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 *.
Lib/test/test_descr.py