]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Mon, 11 Mar 2002 10:20:04 +0000 (10:20 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 11 Mar 2002 10:20:04 +0000 (10:20 +0000)
commitfd268a192490b4dbe3d714b97ee9fc9ed871f714
treeecf0c84d334424cdf49cebc6269f54fcd4c7d7d8
parent095fbeb55b63d83e8975ec675605709c1ec8d73e
backport gvanrossum's checkin of
    revision 1.117 of test_descr.py

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