summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-07-23 00:43:42 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-07-23 00:43:42 (GMT)
commit4fb6b0a104ebc2a94638100d013b1d2e917373ba (patch)
treec014c1f1eeab6aa5f59ec16b650f7b98ac3fdddf
parent80823d7ed75fef43b47a1f9312224bd93b1628ae (diff)
parente60e12b57a05e932c9d3ac330dcb7d5a908a1a6c (diff)
downloadcpython-4fb6b0a104ebc2a94638100d013b1d2e917373ba.zip
cpython-4fb6b0a104ebc2a94638100d013b1d2e917373ba.tar.gz
cpython-4fb6b0a104ebc2a94638100d013b1d2e917373ba.tar.bz2
Merge #15429: Fix invalid mention of types.NoneType from None docs.
-rw-r--r--Doc/library/constants.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
index fa61f68..059a21d 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`.