-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Notes comparing NotImplementedError
and NotImplemented
have inconsistent linking
#129015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I guess it'd be better to have the link when we say "See ..." so yes you just need to move "!". The "!" is a special Sphinx (not reST) markup to suppress a link but keep the semantic usage of the role (data or exc in this case). It can also be used for known broken links (that could be non-broken in the future) while retaining a literal markup. Would you mind creating a PR for that? |
…plementedError` (#129562) --------- Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
…`NotImplementedError` (pythonGH-129562) --------- (cherry picked from commit a85eeb9) Co-authored-by: Mike Castle <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
…`NotImplementedError` (pythonGH-129562) --------- (cherry picked from commit a85eeb9) Co-authored-by: Mike Castle <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
… `NotImplementedError` (GH-129562) (#130776) gh-129015: Improve disambiguation between `NotImplemented` and `NotImplementedError` (GH-129562) --------- (cherry picked from commit a85eeb9) Co-authored-by: Mike Castle <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
… `NotImplementedError` (GH-129562) (#130777) gh-129015: Improve disambiguation between `NotImplemented` and `NotImplementedError` (GH-129562) --------- (cherry picked from commit a85eeb9) Co-authored-by: Mike Castle <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Thank you for the initial work @nexushoratio! |
…`NotImplementedError` (python#129562) --------- Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Documentation
The link to the
OtherItem
is in different locations in the otherwise similar notes. One with the SeeOtherItem
, 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 SeeOtherItem
sentence.constants.html
reads:exceptions.html
reads:cpython/Doc/library/constants.rst
Lines 51 to 53 in 5aaf416
cpython/Doc/library/exceptions.rst
Lines 338 to 340 in 5aaf416
I don't know RST. Is it simply moving the
!
inexceptions
from line 340 to line 338?Linked PRs
NotImplemented
andNotImplementedError
(GH-129562) #130776NotImplemented
andNotImplementedError
(GH-129562) #130777The text was updated successfully, but these errors were encountered: