summaryrefslogtreecommitdiffstats
path: root/Doc/tools/sphinxext/pyspecific.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-03-25 18:32:35 (GMT)
committerGeorg Brandl <georg@python.org>2012-03-25 18:32:35 (GMT)
commit288b9bf1ea3ed68b3238fb2f2d579370ffdb634b (patch)
tree9709e67e5e549550427f213d7e344a7562154bc4 /Doc/tools/sphinxext/pyspecific.py
parent1ab27c6fde2a7a8f66bcc158ef74975e269c9389 (diff)
parentab7121430e8ef7106582b1abe0d6a900f62f22ce (diff)
downloadcpython-288b9bf1ea3ed68b3238fb2f2d579370ffdb634b.zip
cpython-288b9bf1ea3ed68b3238fb2f2d579370ffdb634b.tar.gz
cpython-288b9bf1ea3ed68b3238fb2f2d579370ffdb634b.tar.bz2
merge with 3.2
Diffstat (limited to 'Doc/tools/sphinxext/pyspecific.py')
-rw-r--r--Doc/tools/sphinxext/pyspecific.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py
index f359530..bff10ab 100644
--- a/Doc/tools/sphinxext/pyspecific.py
+++ b/Doc/tools/sphinxext/pyspecific.py
@@ -27,10 +27,10 @@ def new_visit_versionmodified(self, node):
self.body.append(self.starttag(node, 'p', CLASS=node['type']))
text = versionlabels[node['type']] % node['version']
if len(node):
- text += ': '
+ text += ':'
else:
text += '.'
- self.body.append('<span class="versionmodified">%s</span>' % text)
+ self.body.append('<span class="versionmodified">%s</span> ' % text)
from sphinx.writers.html import HTMLTranslator
from sphinx.locale import versionlabels