summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index d8e403b52d..721a6ac75c 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1176,8 +1176,6 @@ _PyObject_GetDictPtr(PyObject *obj)
return (PyObject **) ((char *)obj + dictoffset);
}
-/* Generic GetAttr functions - put these in your tp_[gs]etattro slot */
-
PyObject *
PyObject_SelfIter(PyObject *obj)
{
@@ -1185,6 +1183,8 @@ PyObject_SelfIter(PyObject *obj)
return obj;
}
+/* Generic GetAttr functions - put these in your tp_[gs]etattro slot */
+
PyObject *
PyObject_GenericGetAttr(PyObject *obj, PyObject *name)
{