diff options
| author | Georg Brandl <georg@python.org> | 2010-04-17 12:35:21 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-04-17 12:35:21 +0200 |
| commit | 61b45b7891e349f06047fafaefae27cd8279f144 (patch) | |
| tree | 263833498f34edd528e488f1c317223065a767ad /doc/ext | |
| parent | 7f269d3edc077c5e3c3448049eccd393d79a8bdf (diff) | |
| download | sphinx-61b45b7891e349f06047fafaefae27cd8279f144.tar.gz | |
Use appropriate interpolation char.
Diffstat (limited to 'doc/ext')
| -rw-r--r-- | doc/ext/tutorial.rst | 2 |
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]) |
