diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-01 22:53:41 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-02-01 22:53:41 +0100 |
commit | 8663d10063e3e347f6d1396b11839b1876038c01 (patch) | |
tree | 6951ec82b3f4fdca9705131de620e5a73ffb5f98 | |
parent | f33eaee78f57f5c341aba25a87e7c9bfa4a41e09 (diff) | |
download | weechat-8663d10063e3e347f6d1396b11839b1876038c01.zip |
Fix python example of hook_signal in plugin API reference
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 2 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 2 |
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 |