summaryrefslogtreecommitdiffstats
path: root/Doc/library/constants.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-07-23 00:43:13 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-07-23 00:43:13 (GMT)
commite60e12b57a05e932c9d3ac330dcb7d5a908a1a6c (patch)
tree5ec4429f1dcd4d92ee71260762eaa60f869b65cd /Doc/library/constants.rst
parent76c28f7ce27ea48254e152032d25ded3117973cb (diff)
downloadcpython-e60e12b57a05e932c9d3ac330dcb7d5a908a1a6c.zip
cpython-e60e12b57a05e932c9d3ac330dcb7d5a908a1a6c.tar.gz
cpython-e60e12b57a05e932c9d3ac330dcb7d5a908a1a6c.tar.bz2
#15429: Fix invalid mention of types.NoneType from None docs.
Diffstat (limited to 'Doc/library/constants.rst')
-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`.