[Python-checkins] cpython: quaint and completely out of date comment
benjamin.peterson
python-checkins at python.org
Sat Jun 11 23:33:00 CEST 2011
http://hg.python.org/cpython/rev/43605330864b
changeset: 70802:43605330864b
user: Benjamin Peterson <benjamin at python.org>
date: Sat Jun 11 16:33:35 2011 -0500
summary:
quaint and completely out of date comment
files:
Objects/object.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Objects/object.c b/Objects/object.c
--- 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 @@
}
/*
-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 */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list