From: Armin Rigo Date: Sun, 15 May 2005 15:32:08 +0000 (+0000) Subject: Fixed a quite misleading comment: a "not" should not have been there. X-Git-Tag: v2.5a0~1783 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7726dc0a8e2951e1fd75353e7d8c16284d0d4653;p=python Fixed a quite misleading comment: a "not" should not have been there. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 6c31c73f70..973d72bfbd 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);