Commit 20895322 authored by Brett Cannon's avatar Brett Cannon

Fixed a comment.

parent 02f2d199
...@@ -5533,7 +5533,7 @@ super_descr_get(PyObject *self, PyObject *obj, PyObject *type) ...@@ -5533,7 +5533,7 @@ super_descr_get(PyObject *self, PyObject *obj, PyObject *type)
return self; return self;
} }
if (su->ob_type != &PySuper_Type) if (su->ob_type != &PySuper_Type)
/* If su is an instance of a subclass of super, /* If su is not an instance of a subclass of super,
call its type */ call its type */
return PyObject_CallFunction((PyObject *)su->ob_type, return PyObject_CallFunction((PyObject *)su->ob_type,
"OO", su->type, obj); "OO", su->type, obj);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment