summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-17 12:35:21 +0200
committerGeorg Brandl <georg@python.org>2010-04-17 12:35:21 +0200
commit61b45b7891e349f06047fafaefae27cd8279f144 (patch)
tree263833498f34edd528e488f1c317223065a767ad
parent7f269d3edc077c5e3c3448049eccd393d79a8bdf (diff)
downloadsphinx-61b45b7891e349f06047fafaefae27cd8279f144.tar.gz
Use appropriate interpolation char.
-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 c44748d2..4728de24 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.index_num
+ targetid = "todo-%d" % env.index_num
env.index_num += 1
targetnode = nodes.target('', '', ids=[targetid])