bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2725)

(cherry picked from commit 50f58163a6)
This commit is contained in:
Ned Deily 2017-07-15 23:06:57 -04:00 committed by GitHub
parent b6dae2e40d
commit 64a9f3d961
1 changed files with 1 additions and 1 deletions

View File

@ -13,9 +13,9 @@ ISSUE_URI = 'https://bugs.python.org/issue%s'
SOURCE_URI = 'https://github.com/python/cpython/tree/2.7/%s'
from docutils import nodes, utils
from docutils.parsers.rst import Directive
from sphinx.util.nodes import split_explicit_title
from sphinx.util.compat import Directive
from sphinx.writers.html import HTMLTranslator
from sphinx.writers.latex import LaTeXTranslator