1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-23 19:36:37 +02:00

doc: fix typo in example for function string_eval_expression (plugin API reference)

This commit is contained in:
Sebastien Helleu
2013-07-23 19:39:39 +02:00
parent c14b1b5fae
commit ea76cdb06e
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1702,9 +1702,9 @@ Script (Python):
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# examples
str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]
+3 -3
View File
@@ -1727,9 +1727,9 @@ Script (Python) :
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# exemples
str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]
+3 -3
View File
@@ -1686,9 +1686,9 @@ Script (Python):
str = weechat.string_eval_expression(expr, pointers, extra_vars)
# esempi
str1 = weechat.string_input_for_buffer("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_input_for_buffer("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_input_for_buffer("abc =~ def", {}, {}) # "0"
str1 = weechat.string_eval_expression("${buffer.full_name}", {}, {}) # "core.weechat"
str2 = weechat.string_eval_expression("${window.win_width} > 100", {}, {}) # "1"
str3 = weechat.string_eval_expression("abc =~ def", {}, {}) # "0"
----------------------------------------
[[utf-8]]