summaryrefslogtreecommitdiff
path: root/doc/ext
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-17 13:00:19 +0200
committerGeorg Brandl <georg@python.org>2010-04-17 13:00:19 +0200
commit0be39f2ee47ccbd38d3402105ebebe5c03a23a65 (patch)
tree36cf252ac492ece127966a47978229da3c18121d /doc/ext
parent0e39c1bcfc221b73033edd8c7e47b5ba6e028dc0 (diff)
parentf246eec0c3ed09ed2769bb32a12e7d3385b0eba8 (diff)
downloadsphinx-0be39f2ee47ccbd38d3402105ebebe5c03a23a65.tar.gz
merge with trunk
Diffstat (limited to 'doc/ext')
-rw-r--r--doc/ext/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ext/tutorial.rst b/doc/ext/tutorial.rst
index 43d12ccb..de61e201 100644
--- a/doc/ext/tutorial.rst
+++ b/doc/ext/tutorial.rst
@@ -201,7 +201,7 @@ The ``todo`` directive function looks like this::
def run(self):
env = self.state.document.settings.env
- targetid = "todo-%s" % env.new_serialno('todo')
+ targetid = "todo-%d" % env.new_serialno('todo')
targetnode = nodes.target('', '', ids=[targetid])
ad = make_admonition(todo, self.name, [_('Todo')], self.options,