diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-29 21:21:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-29 21:21:01 +0200 |
commit | b2b110f1a377e92928118c4ccf921bbb2f69ced9 (patch) | |
tree | e4c9ab1bfca964c58c94f2de58d5b414653504d3 /doc/it/weechat_plugin_api.it.adoc | |
parent | 89400cbf7a9c3bc886fac7b5b3e596ff9b097e5d (diff) | |
download | weechat-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.adoc | 2 |
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 |