]> 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:19:48 +0000 (10:19 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 11 Mar 2002 10:19:48 +0000 (10:19 +0000)
commit095fbeb55b63d83e8975ec675605709c1ec8d73e
treed06c26016f38a3cc15c238f00c8dc2257f5e2272
parent98f5a893852126740afd7b097d5d89f04113bcdd
backport gvanrossum's checkin of
    revision 2.128 of typeobject.c

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