diff options
author | Georg Brandl <georg@python.org> | 2009-04-27 16:28:57 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-27 16:28:57 +0000 |
commit | c1725747190dca6dec0465387a0cb86c1f9d96f2 (patch) | |
tree | 1242630d4613b7e19fa5a6bd91611109c36a0126 /Doc/tools | |
parent | 7e870c58e04085d1645ced7d136d5c23b74ebd97 (diff) | |
download | cpython-c1725747190dca6dec0465387a0cb86c1f9d96f2.tar.gz |
Merged revisions 71960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
........
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/sphinxext/pyspecific.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py index 024a5fa2d9..2ed36b23a9 100644 --- a/Doc/tools/sphinxext/pyspecific.py +++ b/Doc/tools/sphinxext/pyspecific.py @@ -5,7 +5,7 @@ Sphinx extension with Python doc-specific markup. - :copyright: 2008 by Georg Brandl. + :copyright: 2008, 2009 by Georg Brandl. :license: Python license. """ @@ -87,7 +87,7 @@ class PydocTopicsBuilder(Builder): self.topics[label] = str(writer.output) def finish(self): - f = open(path.join(self.outdir, 'pydoc_topics.py'), 'w') + f = open(path.join(self.outdir, 'topics.py'), 'w') try: f.write('# Autogenerated by Sphinx on %s\n' % asctime()) f.write('topics = ' + pformat(self.topics) + '\n') |