From: Benjamin Peterson Date: Sat, 11 Jun 2011 21:33:35 +0000 (-0500) Subject: quaint and completely out of date comment X-Git-Tag: v3.3.0a1~2125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=722954a3d3a773663d497c69bd2f1f91773b4356;p=thirdparty%2FPython%2Fcpython.git quaint and completely out of date comment --- diff --git a/Objects/object.c b/Objects/object.c index 80ffddbdb51d..05c52f15788a 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1,5 +1,5 @@ -/* Generic object operations; and implementation of None (NoObject) */ +/* Generic object operations; and implementation of None */ #include "Python.h" #include "frameobject.h" @@ -1255,10 +1255,9 @@ PyObject_Dir(PyObject *obj) } /* -NoObject is usable as a non-NULL undefined value, used by the macro None. +None is as a non-NULL undefined value. There is (and should be!) no way to create other objects of this type, so there is exactly one (which is indestructible, by the way). -(XXX This type and the type of NotImplemented below should be unified.) */ /* ARGSUSED */