summaryrefslogtreecommitdiff
path: root/giscanner/codegen.py
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-04-28 22:57:00 -0700
committerThomas A Caswell <tcaswell@gmail.com>2015-09-29 14:44:50 -0400
commite09c0a2bca45016daee064669ef5b1c9a748a566 (patch)
tree567ce836ed738a0a8161c11602cb135c2a77375e /giscanner/codegen.py
parentd9a9f70ef6e3b1ef0f4baccf94780d286e51bbb0 (diff)
downloadgobject-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.py2
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)