From: R David Murray Date: Mon, 23 Jul 2012 00:43:13 +0000 (-0400) Subject: #15429: Fix invalid mention of types.NoneType from None docs. X-Git-Tag: v3.3.0b2~124^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e60e12b57a05e932c9d3ac330dcb7d5a908a1a6c;p=thirdparty%2FPython%2Fcpython.git #15429: Fix invalid mention of types.NoneType from None docs. --- diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst index fa61f68852b0..059a21d5c83e 100644 --- a/Doc/library/constants.rst +++ b/Doc/library/constants.rst @@ -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`.