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

This commit is contained in:
Ned Deily 2017-07-15 15:28:02 -04:00 committed by GitHub
parent f0b6a261bb
commit 50f58163a6

View file

@ -15,6 +15,7 @@ from os import path
from time import asctime
from pprint import pformat
from docutils.io import StringOutput
from docutils.parsers.rst import Directive
from docutils.utils import new_document
from docutils import nodes, utils
@ -23,7 +24,6 @@ from sphinx import addnodes
from sphinx.builders import Builder
from sphinx.locale import translators
from sphinx.util.nodes import split_explicit_title
from sphinx.util.compat import Directive
from sphinx.writers.html import HTMLTranslator
from sphinx.writers.text import TextWriter
from sphinx.writers.latex import LaTeXTranslator