mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Merged revisions 67885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r67885 | benjamin.peterson | 2008-12-20 17:48:54 -0600 (Sat, 20 Dec 2008) | 1 line silence annoying DeprecationWarning ........
This commit is contained in:
parent
6ebe78f5cc
commit
6e43fb1459
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,11 @@ from time import asctime
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
from docutils.io import StringOutput
|
from docutils.io import StringOutput
|
||||||
from docutils.utils import new_document
|
from docutils.utils import new_document
|
||||||
from sphinx.builder import Builder
|
|
||||||
|
try:
|
||||||
|
from sphinx.builders import Builder
|
||||||
|
except ImportError:
|
||||||
|
from sphinx.builder import Builder
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from sphinx.writers.text import TextWriter
|
from sphinx.writers.text import TextWriter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue