Skip to content

Commit 64a9f3d

Browse files
authored
bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2725)
(cherry picked from commit 50f5816)
1 parent b6dae2e commit 64a9f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tools/extensions/pyspecific.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
SOURCE_URI = 'https://github.com/python/cpython/tree/2.7/%s'
1414

1515
from docutils import nodes, utils
16+
from docutils.parsers.rst import Directive
1617

1718
from sphinx.util.nodes import split_explicit_title
18-
from sphinx.util.compat import Directive
1919
from sphinx.writers.html import HTMLTranslator
2020
from sphinx.writers.latex import LaTeXTranslator
2121

0 commit comments

Comments
 (0)