Martin v. Loewis wrote in comp.lang.python: > Gerhard Haering <gerhard.haering at gmx.de> writes: > >> How do I check for the nonzero-ness of a PyObject using the Python C-API? > > Use PyObject_IsTrue. Ah. Thanks. -- Gerhard