summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2005-05-15 15:32:08 (GMT)
committerArmin Rigo <arigo@tunes.org>2005-05-15 15:32:08 (GMT)
commit7726dc0a8e2951e1fd75353e7d8c16284d0d4653 (patch)
treec0beffa7eb7d3b9c8a56b516a4748053674b395b /Objects
parent57179feec8b0b22a81ec70b4f4037a17f06fd415 (diff)
downloadcpython-7726dc0a8e2951e1fd75353e7d8c16284d0d4653.zip
cpython-7726dc0a8e2951e1fd75353e7d8c16284d0d4653.tar.gz
cpython-7726dc0a8e2951e1fd75353e7d8c16284d0d4653.tar.bz2
Fixed a quite misleading comment: a "not" should not have been there.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 6c31c73..973d72b 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -5648,7 +5648,7 @@ super_descr_get(PyObject *self, PyObject *obj, PyObject *type)
return self;
}
if (su->ob_type != &PySuper_Type)
- /* If su is not an instance of a subclass of super,
+ /* If su is an instance of a (strict) subclass of super,
call its type */
return PyObject_CallFunction((PyObject *)su->ob_type,
"OO", su->type, obj);