1. Armin Rigo
  2. cpython-withatomic

Commits

Georg Brandl  committed 09c2d15

Merged revisions 67467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r67467 | benjamin.peterson | 2008-12-01 13:52:51 +0100 (Mon, 01 Dec 2008) | 1 line

let people using SVN Sphinx still build the docs
........

  • Participants
  • Parent commits ab12d71
  • Branches 2.6

Comments (0)

Files changed (1)

File Doc/tools/sphinxext/pyspecific.py

View file
 from docutils.io import StringOutput
 from docutils.utils import new_document
 from sphinx.builder import Builder
-from sphinx.writers.text import TextWriter
+
+try:
+    from sphinx.writers.text import TextWriter
+except ImportError:
+    from sphinx.textwriter import TextWriter
 
 class PydocTopicsBuilder(Builder):
     name = 'pydoc-topics'