]> granicus.if.org Git - python/commit
SF bug #820397: __nonzero__() returns 1/0
authorRaymond Hettinger <python@rcn.com>
Sat, 11 Oct 2003 17:29:04 +0000 (17:29 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 11 Oct 2003 17:29:04 +0000 (17:29 +0000)
commitf34f2646a140c4b59ffcdeb7b55e61962b8bc249
tree48dc156427c46742ef3cab7e49acd31865116756
parent40b9df2feaa48f36f70ae1888e303f03ade11dae
SF bug #820397:  __nonzero__() returns 1/0

Altered to return a PyBool instead of a PyInt.

Backport candidate.
Objects/typeobject.c