From 1593f502e8d0b40242393c44fa24d54f3defe974 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Tue, 14 Sep 2004 17:09:47 +0000 Subject: Move a comment back to its rightful location. --- Objects/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/object.c b/Objects/object.c index d8e403b..721a6ac 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) { -- cgit v0.12