summaryrefslogtreecommitdiff
path: root/giscanner/xmlwriter.py
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-12-27 17:14:19 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2021-01-31 23:06:22 +0100
commit77de3fcc616757c775895873ccabc79ce865fe9b (patch)
tree4320fbe95a9c53f615ffd6516df85dad5cc33277 /giscanner/xmlwriter.py
parent5ed5b1ed30938dbe70e50feffa56ee5ee47696d2 (diff)
downloadgobject-introspection-wip/nielsdg/python-formatter-out-params.tar.gz
docwriter: Fix (out) arguments for Pythonwip/nielsdg/python-formatter-out-params
The documentation formatter for Python3 doesn't properly deal with `(out)` arguments, which leads to those being added as function arguments, rather than return values. This commit fixes that by mostly copying the logic from the GJS formatter. For future work, it might be worth looking into whether Python type annotations can be used to add types to arguments. Fixes https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/235
Diffstat (limited to 'giscanner/xmlwriter.py')
0 files changed, 0 insertions, 0 deletions