diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-27 01:39:06 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-08-27 01:39:06 +0400 |
commit | 71e5e90fb7d44482c87692c3fe3332c22e353d07 (patch) | |
tree | d43fb8c8489faa86c699bec85df170e85a39acf8 /release/scripts | |
parent | 1679cd7f966b5441bd02e8960ece398ee1980c7f (diff) |
Followup to r59536: make "is_argument_optional" available to py, and use it in API doc generation.
Thanks Campbell for the much better name suggestion!
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/rna_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index bf15b472805..804055e61a5 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -296,6 +296,8 @@ class InfoPropertyRNA: elif as_arg: if not self.is_required: type_info.append("optional") + if self.is_argument_optional: + type_info.append("optional argument") else: # readonly is only useful for self's, not args if self.is_readonly: type_info.append("readonly") |