]> jfr.im git - irc/weechat/weechat.git/commit
doc/api: Improve python example for config_new_section
authorTrygve Aaberge <redacted>
Sat, 22 Oct 2022 10:32:18 +0000 (12:32 +0200)
committerSébastien Helleu <redacted>
Sun, 11 Dec 2022 14:33:11 +0000 (15:33 +0100)
commitdc8a35796a1c47bf70e891d9728265590823d52f
tree549f654c23d4f8e2d78d0b3c986045b64b400870
parentabdabb3ae46061c00e4cd975710e6415672fd8cb
doc/api: Improve python example for config_new_section

This updates the Python examples to include all the possible return
values for the callbacks in config_new_section, like it is done in the C
example. It also aligns the order of the values with the C example.
doc/en/weechat_plugin_api.en.adoc
doc/fr/weechat_plugin_api.fr.adoc
doc/it/weechat_plugin_api.it.adoc
doc/ja/weechat_plugin_api.ja.adoc
doc/sr/weechat_plugin_api.sr.adoc
src/plugins/python/weechat.pyi