diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-07 10:00:02 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-07 10:00:02 +0100 |
commit | 125068f101933369dad6516fcb84228a64297302 (patch) | |
tree | 346b81b7139d1e0803a9507114ad1a4e800e82e2 /doc/it | |
parent | ae618bcf6a358e539e2e9f4d252344d1a2d1badd (diff) | |
download | weechat-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.txt | 2 |
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) ---------------------------------------- |