Fixed a quite misleading comment: a "not" should not have been there.

This commit is contained in:
Armin Rigo 2005-05-15 15:32:08 +00:00
parent 57179feec8
commit 7726dc0a8e

View File

@ -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);