From a2bb57bf82f6e771c6eca334064c281440cd52cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 14 Feb 2022 07:25:22 +0100 Subject: doc/api: add missing type for argument "count" in Python prototype of function ngettext --- doc/en/weechat_plugin_api.en.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/en/weechat_plugin_api.en.adoc') 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 -- cgit v1.2.3