diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-08-23 08:48:05 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:57:16 +0200 |
commit | 001631bf9b9e672154492bf6547c0c7c985ed3e0 (patch) | |
tree | 864a7a826ff4c7d57e2b1bbd49d5cb95e562f633 /giscanner | |
parent | 9d5c9989515126f52252d090d70df7af8bc878fe (diff) | |
download | gobject-introspection-001631bf9b9e672154492bf6547c0c7c985ed3e0.tar.gz |
giscanner: write virtual method instance parameter docs to .gir file
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index 92a07734..d0eae900 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -675,7 +675,13 @@ class MainTransformer(object): def _apply_annotations_params(self, parent, params, block): declparams = set([]) if parent.instance_parameter: + if block: + doc_param = block.params.get(parent.instance_parameter.argname) + else: + doc_param = None + self._apply_annotations_param(parent, parent.instance_parameter, doc_param) declparams.add(parent.instance_parameter.argname) + for param in params: if block: doc_param = block.params.get(param.argname) |