summaryrefslogtreecommitdiff
path: root/giscanner/maintransformer.py
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-04-30 16:54:18 -0700
committerSimon Feltman <sfeltman@src.gnome.org>2014-05-01 21:42:08 -0700
commit1c1039b8be50a4390cedfc7cd3db923a342201db (patch)
tree1aaf4d940e5d10555405a387b3b69344d94ffd94 /giscanner/maintransformer.py
parentc83efc88fbc3b32f2fcc19049005bf730034a406 (diff)
downloadgobject-introspection-1c1039b8be50a4390cedfc7cd3db923a342201db.tar.gz
giscanner: Use range instead of xrange for Python 3 compatibility
https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'giscanner/maintransformer.py')
-rw-r--r--giscanner/maintransformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index 47d7bec4..afab7bc5 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -1282,7 +1282,7 @@ method or constructor of some type."""
continue
if len(method.parameters) != len(vfunc.parameters):
continue
- for i in xrange(len(method.parameters)):
+ for i in range(len(method.parameters)):
m_type = method.parameters[i].type
v_type = vfunc.parameters[i].type
if m_type != v_type: