diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 13:21:40 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 13:21:40 +0100 |
commit | 2a159369403da1e8ccd780f3e630f7963ad1fa96 (patch) | |
tree | d00edb041cbf6549eecef1209fffa5562c2b7915 /giscanner | |
parent | aec162ff6ac3cd7b00634975f98eff8e9e79fb10 (diff) | |
download | gobject-introspection-2a159369403da1e8ccd780f3e630f7963ad1fa96.tar.gz |
g-ir-doc-tool: Qualify the class name in the constructor with the module name
Diffstat (limited to 'giscanner')
-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\ |