| 2789 | } |
| 2790 | |
| 2791 | SWIGINTERN int |
| 2792 | SwigPyStaticVar_set(PyGetSetDescrObject *descr, PyObject *obj, PyObject *value) { |
| 2793 | if (descr->d_getset->set != NULL) |
| 2794 | return descr->d_getset->set(obj, value, descr->d_getset->closure); |
| 2795 | #if PY_VERSION_HEX >= 0x03000000 |
| 2796 | PyErr_Format(PyExc_AttributeError, "attribute '%.300S' of '%.100s' objects is not writable", PyDescr_NAME(descr), PyDescr_TYPE(descr)->tp_name); |
| 2797 | #else |
| 2798 | PyErr_Format(PyExc_AttributeError, "attribute '%.300s' of '%.100s' objects is not writable", PyString_AsString(PyDescr_NAME(descr)), PyDescr_TYPE(descr)->tp_name); |
| 2799 | #endif |
| 2800 | return -1; |
| 2801 | } |
| 2802 | |
| 2803 | SWIGINTERN int |
| 2804 | SwigPyObjectType_setattro(PyObject *typeobject, PyObject *name, PyObject *value) { |
nothing calls this directly
no outgoing calls
no test coverage detected