summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-09-29 21:21:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-09-29 21:21:01 +0200
commitb2b110f1a377e92928118c4ccf921bbb2f69ced9 (patch)
treee4c9ab1bfca964c58c94f2de58d5b414653504d3 /doc/it/weechat_plugin_api.it.adoc
parent89400cbf7a9c3bc886fac7b5b3e596ff9b097e5d (diff)
downloadweechat-b2b110f1a377e92928118c4ccf921bbb2f69ced9.zip
api: change type of argument remaining_calls in hook_timer callback from string to integer (in scripts)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index e84e24d9d..286b3e68a 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -9620,7 +9620,7 @@ Script (Python):
def hook_timer(interval: int, align_second: int, max_calls: int, callback: str, callback_data: str) -> str: ...
# esempio
-def my_timer_cb(data: str, remaining_calls: str) -> int:
+def my_timer_cb(data: str, remaining_calls: int) -> int:
# ...
return weechat.WEECHAT_RC_OK