summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-11 21:33:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-11 21:33:35 (GMT)
commit722954a3d3a773663d497c69bd2f1f91773b4356 (patch)
tree8a67425a22634031624c2568904daa3eb027a478
parent3bbb72265411585e64a5d2ccb5ba51763f20e311 (diff)
downloadcpython-722954a3d3a773663d497c69bd2f1f91773b4356.zip
cpython-722954a3d3a773663d497c69bd2f1f91773b4356.tar.gz
cpython-722954a3d3a773663d497c69bd2f1f91773b4356.tar.bz2
quaint and completely out of date comment
-rw-r--r--Objects/object.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 80ffddb..05c52f1 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 */