summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/en/weechat_plugin_api.en.adoc2
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc2
-rw-r--r--doc/it/weechat_plugin_api.it.adoc2
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc2
-rw-r--r--doc/sr/weechat_plugin_api.sr.adoc2
-rw-r--r--src/plugins/python/weechat.pyi2
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>`_"""
...