33 PyObject *cls_dict =
obj->ob_type->tp_dict;
34 object key(handle<>(to_python_value<char const *&>()(attr)));
35 return PyDict_Contains(cls_dict, key.ptr()) > 0;
43bool typeHasAttribute(
const boost::python::detail::wrapper_base &wrapper,
const char *attr) {
44 using namespace boost::python::detail;
double obj
the value of the quadratic function
bool MANTID_PYTHONINTERFACE_CORE_DLL typeHasAttribute(PyObject *obj, const char *attr)
This namespace contains helper functions for classes that are overridden in Python.