Skip to content

Commit 993dd5c

Browse files
encukouAA-Turner
andauthored
Consolidate VersionChange imports
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 426aae1 commit 993dd5c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/tools/extensions/pyspecific.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
from sphinx.util.docutils import SphinxDirective
3030
from sphinx.writers.text import TextWriter, TextTranslator
3131
from sphinx.util.display import status_iterator
32-
import sphinx.domains.changeset
3332

3433

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

405404

406-
class PyVersionChange(sphinx.domains.changeset.VersionChange):
405+
class PyVersionChange(VersionChange):
407406
def run(self):
408407
# Replace the 'next' special token with the current development version
409408
self.arguments[0] = expand_version_arg(self.arguments[0],

0 commit comments

Comments
 (0)