python/dist/src/Objects typeobject.c, 2.265, 2.266
Update of /cvsroot/python/python/dist/src/Objects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4545 Modified Files: typeobject.c Log Message: Fixed a quite misleading comment: a "not" should not have been there. Index: typeobject.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v retrieving revision 2.265 retrieving revision 2.266 diff -u -d -r2.265 -r2.266 --- typeobject.c 3 Mar 2005 16:45:19 -0000 2.265 +++ typeobject.c 15 May 2005 15:32:08 -0000 2.266 @@ -5648,7 +5648,7 @@ 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);
participants (1)
-
arigoļ¼ users.sourceforge.net