-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Description
Documentation
The link to the OtherItem
is in different locations in the otherwise similar notes. One with the See OtherItem
, the other in the sentence calling out they are different. They should probably be consistent.
I personally think they should be like in constants
, with the See OtherItem
sentence.
constants.html
reads:
Note:
NotImplementedError
andNotImplemented
are not interchangeable, even though they have similar names and purposes. SeeNotImplementedError
for details on when to use it.
exceptions.html
reads:
Note:
NotImplementedError
andNotImplemented
are not interchangeable, even though they have similar names and purposes. SeeNotImplemented
for details on when to use it.
cpython/Doc/library/constants.rst
Lines 51 to 53 in 5aaf416
``NotImplementedError`` and :data:`!NotImplemented` are not interchangeable, | |
even though they have similar names and purposes. | |
See :exc:`NotImplementedError` for details on when to use it. |
cpython/Doc/library/exceptions.rst
Lines 338 to 340 in 5aaf416
``NotImplementedError`` and :data:`NotImplemented` are not interchangeable, | |
even though they have similar names and purposes. See | |
:data:`!NotImplemented` for details on when to use it. |
I don't know RST. Is it simply moving the !
in exceptions
from line 340 to line 338?
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status