From: Michael W. Hudson Date: Tue, 14 Sep 2004 17:09:47 +0000 (+0000) Subject: Move a comment back to its rightful location. X-Git-Tag: v2.4b1~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1593f502e8d0b40242393c44fa24d54f3defe974;p=python Move a comment back to its rightful location. --- 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) {