summaryrefslogtreecommitdiff
path: root/doc/it
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/it
parentae618bcf6a358e539e2e9f4d252344d1a2d1badd (diff)
downloadweechat-125068f101933369dad6516fcb84228a64297302.zip
doc: replace iteritems() by items() in scripting guide (compatibility with Python 3.x)
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_scripting.it.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt
index 25c906f0b..b28bd4f84 100644
--- a/doc/it/weechat_scripting.it.txt
+++ b/doc/it/weechat_scripting.it.txt
@@ -703,7 +703,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)
----------------------------------------