summaryrefslogtreecommitdiff
path: root/doc/en/weechat_plugin_api.en.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-02-14 07:25:22 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-02-14 07:25:22 +0100
commita2bb57bf82f6e771c6eca334064c281440cd52cc (patch)
tree517b7cc59c415f253bf798e084e0285e820724b2 /doc/en/weechat_plugin_api.en.adoc
parentba7ff87d19217b92dda4eee6a5020aa29441bae1 (diff)
downloadweechat-a2bb57bf82f6e771c6eca334064c281440cd52cc.zip
doc/api: add missing type for argument "count" in Python prototype of function ngettext
Diffstat (limited to 'doc/en/weechat_plugin_api.en.adoc')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index a42ce5503..fed3e7d50 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -537,7 +537,7 @@ Script (Python):
[source,python]
----
# prototype
-def ngettext(string: str, plural: str, count) -> str: ...
+def ngettext(string: str, plural: str, count: int) -> str: ...
# example
num_files = 2