diff options
Diffstat (limited to 'Tools/modulator/Templates/object_tp_getattr')
-rw-r--r-- | Tools/modulator/Templates/object_tp_getattr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/modulator/Templates/object_tp_getattr b/Tools/modulator/Templates/object_tp_getattr index 3e5542f..8e42aea 100644 --- a/Tools/modulator/Templates/object_tp_getattr +++ b/Tools/modulator/Templates/object_tp_getattr @@ -1,9 +1,9 @@ -static object * +static PyObject * $abbrev$_getattr(self, name) $abbrev$object *self; char *name; { /* XXXX Add your own getattr code here */ - return findmethod($abbrev$_methods, (object *)self, name); + return Py_FindMethod($abbrev$_methods, (PyObject *)self, name); } |