diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-01-30 10:54:30 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-01-30 11:01:17 +0100 |
commit | bf3241208b553babdeb851d684060b81d30edc72 (patch) | |
tree | 94b071d7fa6c84339d8f097dc7e31e835e6e151e | |
parent | 28d6b71d9e656c20fc5bfb6b69c8a9b9e335c863 (diff) | |
download | weechat-bf3241208b553babdeb851d684060b81d30edc72.zip |
doc/api: fix type of parameter "date" in script prototype of function prnt_date_tags
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 2 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 2 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 2 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 2 | ||||
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 2 | ||||
-rw-r--r-- | src/plugins/python/weechat.pyi | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 6ab7b96b3..b6ed02676 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -8584,7 +8584,7 @@ Script (Python): [source,python] ---- # prototype -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: ... +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: ... # example time = int(time.time()) diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 1b9ce53ad..9ecce83e6 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -8718,7 +8718,7 @@ Script (Python) : [source,python] ---- # prototype -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: ... +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: ... # exemple time = int(time.time()) diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 11ba5c9d7..1568bf06c 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -8856,7 +8856,7 @@ Script (Python): [source,python] ---- # prototipo -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: ... +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: ... # esempio time = int(time.time()) diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index afe0cbbd7..5c455d9d9 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -8606,7 +8606,7 @@ weechat_printf_date_tags (NULL, time (NULL) - 120, "notify_message", [source,python] ---- # プロトタイプ -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: ... +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: ... # 例 time = int(time.time()) diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index c473a0df2..04e144c1b 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -8327,7 +8327,7 @@ weechat_printf_date_tags (NULL, time (NULL) - 120, "notify_message", [source, python] ---- # прототип -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: ... +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: ... # пример time = int(time.time()) diff --git a/src/plugins/python/weechat.pyi b/src/plugins/python/weechat.pyi index 5bfbc8c8b..f98b7071c 100644 --- a/src/plugins/python/weechat.pyi +++ b/src/plugins/python/weechat.pyi @@ -434,7 +434,7 @@ def prnt(buffer: str, message: str) -> int: ... -def prnt_date_tags(buffer: str, date: str, tags: str, message: str) -> int: +def prnt_date_tags(buffer: str, date: int, tags: str, message: str) -> int: """`prnt_date_tags in WeeChat plugin API reference <https://weechat.org/doc/api#_prnt_date_tags>`_""" ... |