diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-02 11:07:42 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-11 12:34:52 -0500 |
commit | ff80c6d88a28b26576508ab891c9b9da0b13ac49 (patch) | |
tree | 3ecfcda8e893aaf19a279edd36323a42999570cd /giscanner/doctemplates/Gjs/function.tmpl | |
parent | 3818b98a9785026c8aab2cf07e35855caf32a768 (diff) | |
download | gobject-introspection-ff80c6d88a28b26576508ab891c9b9da0b13ac49.tar.gz |
doctool: Don't use zip(range(L))
Instead, remove it entirely (since we don't need the index) or instead
use enumerate().
Diffstat (limited to 'giscanner/doctemplates/Gjs/function.tmpl')
-rw-r--r-- | giscanner/doctemplates/Gjs/function.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/doctemplates/Gjs/function.tmpl b/giscanner/doctemplates/Gjs/function.tmpl index d0fa096e..2039405d 100644 --- a/giscanner/doctemplates/Gjs/function.tmpl +++ b/giscanner/doctemplates/Gjs/function.tmpl @@ -35,7 +35,7 @@ ${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in <%block name="details"> % if node.parameters or node.retval: <dl> -% for arg, ix in zip(node.parameters, range(len(node.parameters))): +% for arg in node.parameters: <dt><p>${arg.argname} :</p></dt> <dd>${formatter.format(node, arg.doc)}</dd> % endfor |