summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_plugin_api.en.txt2
-rw-r--r--doc/fr/weechat_plugin_api.fr.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index dfc64149d..5d21843cb 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -5610,7 +5610,7 @@ Script (Python):
hook = weechat.hook_signal(signal, callback, callback_data)
# example
-def my_signal_cb(data, signal, type_data, signal_data):
+def my_signal_cb(data, signal, signal_data):
# ...
return weechat.WEECHAT_RC_OK
diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt
index 12c945b1f..4d6b266fd 100644
--- a/doc/fr/weechat_plugin_api.fr.txt
+++ b/doc/fr/weechat_plugin_api.fr.txt
@@ -5684,7 +5684,7 @@ Script (Python):
hook = weechat.hook_signal(signal, callback, callback_data)
# exemple
-def my_signal_cb(data, signal, type_data, signal_data):
+def my_signal_cb(data, signal, signal_data):
# ...
return weechat.WEECHAT_RC_OK