Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Documentation: Remove incorrect role directive in graphlib.py #129892

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

Closed
nikolasavic3 opened this issue Feb 9, 2025 · 1 comment · Fixed by #129896
Closed

Documentation: Remove incorrect role directive in graphlib.py #129892

nikolasavic3 opened this issue Feb 9, 2025 · 1 comment · Fixed by #129896
Labels
docs Documentation in the Doc dir easy stdlib Python modules in the Lib dir

Comments

@nikolasavic3
Copy link
Contributor

nikolasavic3 commented Feb 9, 2025

Documentation

Remove :exec: role directive from ValueError in TopologicalSorter.done() docstring since docstrings are not processed as reST contents.

Linked PRs

@nikolasavic3 nikolasavic3 added the docs Documentation in the Doc dir label Feb 9, 2025
@picnixz
Copy link
Member

picnixz commented Feb 9, 2025

Anyone is free to open a PR, but I would prefer that we just remove the role itself. We don't process docstrings as reST contents so this role is useless.

@picnixz picnixz added stdlib Python modules in the Lib dir easy labels Feb 9, 2025
@picnixz picnixz changed the title Documentation: Fix incorrect role directive in graphlib.py Documentation: Remove incorrect role directive in graphlib.py Feb 9, 2025
sobolevn pushed a commit that referenced this issue Feb 9, 2025
…9896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 9, 2025
pythonGH-129896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
(cherry picked from commit c537301)

Co-authored-by: Nikola Savic <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 9, 2025
pythonGH-129896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
(cherry picked from commit c537301)

Co-authored-by: Nikola Savic <[email protected]>
sobolevn pushed a commit that referenced this issue Feb 9, 2025
…py (GH-129896) (#129905)

gh-129892: Doc: Remove unnecessary role directive in graphlib.py (GH-129896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
(cherry picked from commit c537301)

Co-authored-by: Nikola Savic <[email protected]>
sobolevn pushed a commit that referenced this issue Feb 9, 2025
…py (GH-129896) (#129904)

gh-129892: Doc: Remove unnecessary role directive in graphlib.py (GH-129896)

Change `:exec:ValueError` to `ValueError` in `TopologicalSorter.done()` docstring
(cherry picked from commit c537301)

Co-authored-by: Nikola Savic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy stdlib Python modules in the Lib dir
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants