]> granicus.if.org Git - python/commitdiff
#15429: Fix invalid mention of types.NoneType from None docs.
authorR David Murray <rdmurray@bitdance.com>
Mon, 23 Jul 2012 00:43:13 +0000 (20:43 -0400)
committerR David Murray <rdmurray@bitdance.com>
Mon, 23 Jul 2012 00:43:13 +0000 (20:43 -0400)
Doc/library/constants.rst

index fa61f68852b00853b24565c782d93f1260fdc12a..059a21d5c83ead3a80060be885ac94e6f87e5cec 100644 (file)
@@ -19,7 +19,7 @@ A small number of constants live in the built-in namespace.  They are:
 
 .. 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`.