py3: partially revert of getattr -> getattro because getattro is only needed for the static callback function

issue 0000995
This commit is contained in:
wmayer
2017-06-03 02:21:59 +02:00
parent 85bb30495e
commit bf162ebde9
5 changed files with 51 additions and 77 deletions

View File

@@ -103,8 +103,8 @@ public:
//@{
static int __setattro(PyObject *PyObj, PyObject *attro, PyObject *value);
//@}
PyObject *_getattro(PyObject *attr); // __getattr__ function
int _setattro(PyObject *attro, PyObject *value); // __setattr__ function
PyObject *_getattr(char *attr); // __getattr__ function
int _setattr(char *attr, PyObject *value); // __setattr__ function
protected:
PyObject * dict_methods;