| 
    PLearn 0.1 
   | 
 
#include <PythonObjectWrapper.h>
Static Public Member Functions | |
| static bool | convert (PyObject *, bool print_traceback) | 
Definition at line 239 of file PythonObjectWrapper.h.
| bool PLearn::ConvertFromPyObject< bool >::convert | ( | PyObject * | pyobj, | 
| bool | print_traceback | ||
| ) |  [static] | 
        
Definition at line 103 of file PythonObjectWrapper.cc.
References PLASSERT.
{
    PLASSERT( pyobj );
    return PyObject_IsTrue(pyobj) != 0;
}
 1.7.4