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/ja/weechat_plugin_api.ja.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/ja') diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index b18f938d1..e28389834 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -547,7 +547,7 @@ char *str = weechat_ngettext ("file", "files", num_files); [source,python] ---- # プロトタイプ -def ngettext(string: str, plural: str, count) -> str: ... +def ngettext(string: str, plural: str, count: int) -> str: ... # 例 num_files = 2 -- cgit v1.2.3