]> granicus.if.org Git - python/commitdiff
Fixed a quite misleading comment: a "not" should not have been there.
authorArmin Rigo <arigo@tunes.org>
Sun, 15 May 2005 15:32:08 +0000 (15:32 +0000)
committerArmin Rigo <arigo@tunes.org>
Sun, 15 May 2005 15:32:08 +0000 (15:32 +0000)
Objects/typeobject.c

index 6c31c73f706c14592909335ac173837b10156c5b..973d72bfbda5406be8e39d7767c4da63eda7acef 100644 (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);