summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 6d205d72f..072516908 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -6836,10 +6836,10 @@ def option4_check_value_cb(data: str, option: str, value: str) -> int:
return 1
# return 0
-def option4_change_cb(data: str, option: str) -> int:
+def option4_change_cb(data: str, option: str) -> None:
# ...
-def option4_delete_cb(data: str, option: str) -> int:
+def option4_delete_cb(data: str, option: str) -> None:
# ...
option1 = weechat.config_new_option(config_file, section, "option1", "boolean",