Use appropriate interpolation char.

This commit is contained in:
Georg Brandl 2010-04-17 12:35:21 +02:00
parent 517b045f86
commit 138fc5f7bd

View File

@ -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])