54const std::string ContainerImplBase::repr()
const
57 LockGIL LASS_UNUSED(lock);
59 const TPyObjPtr rep(PyObject_Repr(obj.get()));
61 if (pyGetSimpleObject(rep.get(), result) != 0)
void fetchAndThrowPythonException(std::string loc)
Fetch the current Python exception and throw it as a C++ PythonException.
PyObjectPtr< PyObject >::Type TPyObjPtr
PyObjectPtr to a PyObject.
Comprehensive C++ to Python binding library.
Library for Assembled Shared Sources.