diff options
Diffstat (limited to 'giscanner/mallard-Python-class.tmpl')
-rw-r--r-- | giscanner/mallard-Python-class.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/mallard-Python-class.tmpl b/giscanner/mallard-Python-class.tmpl index feae1d11..5437fcd4 100644 --- a/giscanner/mallard-Python-class.tmpl +++ b/giscanner/mallard-Python-class.tmpl @@ -23,7 +23,7 @@ ${formatter.format(node.doc)} </synopsis> <p>Constructor</p> <synopsis><code> -${formatter.to_underscores(node.name).lower()} = ${node.name}(\ +${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(\ % for property_, ix in zip(node.properties, range(len(node.properties))): % if property_.construct or property_.construct_only or property_.writable: <link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\ |