8000 gh-121277: Allow `.. versionadded:: next` in docs by encukou · Pull Request #121278 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121277: Allow .. versionadded:: next in docs #121278

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

Merged
merged 18 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Consolidate VersionChange imports
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
encukou and AA-Turner authored Jul 19, 2024
commit 993dd5cfc8cb91c4f72a018bc4f8c03d948a6675
3 changes: 1 addition & 2 deletions Doc/tools/extensions/pyspecific.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
from sphinx.util.docutils import SphinxDirective
from sphinx.writers.text import TextWriter, TextTranslator
from sphinx.util.display import status_iterator
import sphinx.domains.changeset


ISSUE_URI = 'https://bugs.python.org/issue?@action=redirect&bpo=%s'
Expand Down Expand Up @@ -403,7 +402,7 @@ def expand_version_arg(argument, release):
return argument


class PyVersionChange(sphinx.domains.changeset.VersionChange):
class PyVersionChange(VersionChange):
def run(self):
# Replace the 'next' special token with the current development version
self.arguments[0] = expand_version_arg(self.arguments[0],
Expand Down
Loading
0