From e60e12b57a05e932c9d3ac330dcb7d5a908a1a6c Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sun, 22 Jul 2012 20:43:13 -0400 Subject: [PATCH] #15429: Fix invalid mention of types.NoneType from None docs. --- Doc/library/constants.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst index fa61f68852..059a21d5c8 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`. -- 2.40.0