diff options
author | Michael W. Hudson <mwh@python.net> | 2004-09-14 17:09:47 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-09-14 17:09:47 (GMT) |
commit | 1593f502e8d0b40242393c44fa24d54f3defe974 (patch) | |
tree | a06af2e6c00a15451b626c1234449f2297d90b2f /Objects | |
parent | 10e6e0e61a38d62979fb5270d2e19a235ba32bbe (diff) | |
download | cpython-1593f502e8d0b40242393c44fa24d54f3defe974.zip cpython-1593f502e8d0b40242393c44fa24d54f3defe974.tar.gz cpython-1593f502e8d0b40242393c44fa24d54f3defe974.tar.bz2 |
Move a comment back to its rightful location.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 4 |
1 files 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) { |