summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-01-07 10:00:02 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-01-07 10:00:02 +0100
commit125068f101933369dad6516fcb84228a64297302 (patch)
tree346b81b7139d1e0803a9507114ad1a4e800e82e2 /doc/en
parentae618bcf6a358e539e2e9f4d252344d1a2d1badd (diff)
downloadweechat-125068f101933369dad6516fcb84228a64297302.zip
doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_scripting.en.txt2
1 files changed, 1 insertions, 1 deletions
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)
----------------------------------------