| 2777 | } |
| 2778 | |
| 2779 | SWIGINTERN PyObject * |
| 2780 | SwigPyStaticVar_get(PyGetSetDescrObject *descr, PyObject *obj, PyObject *SWIGUNUSEDPARM(type)) { |
| 2781 | if (descr->d_getset->get != NULL) |
| 2782 | return descr->d_getset->get(obj, descr->d_getset->closure); |
| 2783 | #if PY_VERSION_HEX >= 0x03000000 |
| 2784 | PyErr_Format(PyExc_AttributeError, "attribute '%.300S' of '%.100s' objects is not readable", PyDescr_NAME(descr), PyDescr_TYPE(descr)->tp_name); |
| 2785 | #else |
| 2786 | PyErr_Format(PyExc_AttributeError, "attribute '%.300s' of '%.100s' objects is not readable", PyString_AsString(PyDescr_NAME(descr)), PyDescr_TYPE(descr)->tp_name); |
| 2787 | #endif |
| 2788 | return NULL; |
| 2789 | } |
| 2790 | |
| 2791 | SWIGINTERN int |
| 2792 | SwigPyStaticVar_set(PyGetSetDescrObject *descr, PyObject *obj, PyObject *value) { |
nothing calls this directly
no outgoing calls
no test coverage detected