summaryrefslogtreecommitdiff
path: root/doc/it/weechat_plugin_api.it.txt
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-07-23 19:39:39 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-07-23 19:39:39 +0200
commitea76cdb06ea045dafbe91bfde1669e2287f8e8bd (patch)
tree285e33a2570af2afcdb6858aa9a4ae74f4079718 /doc/it/weechat_plugin_api.it.txt
parentc14b1b5fae241e19bfc505dcb427ca88b8d5554d (diff)
downloadweechat-ea76cdb06ea045dafbe91bfde1669e2287f8e8bd.zip
doc: fix typo in example for function string_eval_expression (plugin API reference)
Diffstat (limited to 'doc/it/weechat_plugin_api.it.txt')
-rw-r--r--doc/it/weechat_plugin_api.it.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index 202716cb6..cf5bd9fb2 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -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]]