Skip to content

Commit e60e12b

Browse files
committed
#15429: Fix invalid mention of types.NoneType from None docs.
1 parent 76c28f7 commit e60e12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/constants.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A small number of constants live in the built-in namespace. They are:
1919

2020
.. data:: None
2121

22-
The sole value of :attr:`types.NoneType`. ``None`` is frequently used to
22+
The sole value of the type ``NoneType``. ``None`` is frequently used to
2323
represent the absence of a value, as when default arguments are not passed to a
2424
function. Assignments to ``None`` are illegal and raise a :exc:`SyntaxError`.
2525

0 commit comments

Comments
 (0)