From 125068f101933369dad6516fcb84228a64297302 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 7 Jan 2013 10:00:02 +0100 Subject: doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x) --- doc/en/weechat_scripting.en.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/en') diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt index 07260e1d8..9784bcbfc 100644 --- a/doc/en/weechat_scripting.en.txt +++ b/doc/en/weechat_scripting.en.txt @@ -687,7 +687,7 @@ script_options = { "option2" : "value2", "option3" : "value3", } -for option, default_value in script_options.iteritems(): +for option, default_value in script_options.items(): if not weechat.config_is_set_plugin(option): weechat.config_set_plugin(option, default_value) ---------------------------------------- -- cgit v1.2.3