diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-04-28 22:57:00 -0700 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2015-09-29 14:44:50 -0400 |
commit | e09c0a2bca45016daee064669ef5b1c9a748a566 (patch) | |
tree | 567ce836ed738a0a8161c11602cb135c2a77375e /giscanner/codegen.py | |
parent | d9a9f70ef6e3b1ef0f4baccf94780d286e51bbb0 (diff) | |
download | gobject-introspection-e09c0a2bca45016daee064669ef5b1c9a748a566.tar.gz |
giscanner: Use items() instead of iteritems()
Replace usage of iteritems() and itervalues() with items() and values()
respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'giscanner/codegen.py')
-rw-r--r-- | giscanner/codegen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/codegen.py b/giscanner/codegen.py index fcf1fc51..20e087b4 100644 --- a/giscanner/codegen.py +++ b/giscanner/codegen.py @@ -164,7 +164,7 @@ class CCodeGenerator(object): self._codegen_start() - for node in self.namespace.itervalues(): + for node in self.namespace.values(): if isinstance(node, ast.Function): with self._function(node): body = self._function_bodies.get(node) |