[Python-checkins] cpython (merge 3.2 -> default): Merge #15429: Fix invalid mention of types.NoneType from None docs.

r.david.murray python-checkins at python.org
Mon Jul 23 02:44:08 CEST 2012


http://hg.python.org/cpython/rev/c43d73277756
changeset:   78244:c43d73277756
parent:      78242:657673a37dd3
parent:      78243:84b577567fab
user:        R David Murray <rdmurray at bitdance.com>
date:        Sun Jul 22 20:43:42 2012 -0400
summary:
  Merge #15429: Fix invalid mention of types.NoneType from None docs.

files:
  Doc/library/constants.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -19,7 +19,7 @@
 
 .. data:: None
 
-   The sole value of :attr:`types.NoneType`.  ``None`` is frequently used to
+   The sole value of the type ``NoneType``.  ``None`` is frequently used to
    represent the absence of a value, as when default arguments are not passed to a
    function. Assignments to ``None`` are illegal and raise a :exc:`SyntaxError`.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list