PyHANDLE.__nonzero__

__nonzero__()

Used for detecting true/false.

Return Value

The result is 1 if the attached handle is non zero, else 0. static*/ int PyHANDLE::nonzeroFunc(PyObject *ob) { return ((PyHANDLE *)ob)->m_handle != 0; }