mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixed a quite misleading comment: a "not" should not have been there.
This commit is contained in:
parent
57179feec8
commit
7726dc0a8e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue