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

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


http://hg.python.org/cpython/rev/84b577567fab
changeset:   78243:84b577567fab
branch:      3.2
parent:      78235:c97cfe04880f
user:        R David Murray <rdmurray at bitdance.com>
date:        Sun Jul 22 20:43:13 2012 -0400
summary:
  #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