1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

doc: add version 2.2 in Python example for function string_format_size (plugin API reference)

This commit is contained in:
Sébastien Helleu
2018-04-07 15:19:13 +02:00
parent 6de98179bc
commit 64738bcee9
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1718,7 +1718,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
Script (Python):
Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----
+1 -1
View File
@@ -1751,7 +1751,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 Mo" */
free (str);
----
Script (Python) :
Script (Python), _WeeChat ≥ 2.2_ :
[source,python]
----
+1 -1
View File
@@ -1790,7 +1790,7 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
Script (Python):
Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----
+2 -1
View File
@@ -1724,7 +1724,8 @@ char *str = weechat_string_format_size (2097152); /* str == "2.10 MB" */
free (str);
----
スクリプト (Python) での使用例:
// TRANSLATION MISSING
Script (Python), _WeeChat ≥ 2.2_:
[source,python]
----