From 4bd9dd32436b9f37afaca85c5094e7cc5a874bc5 Mon Sep 17 00:00:00 2001 From: Kai Huuhko Date: Sun, 24 Nov 2013 18:29:33 +0200 Subject: [PATCH] Eo: Fix a Py2'ism. --- efl/eo/efl.eo.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx index df74db4..238359c 100644 --- a/efl/eo/efl.eo.pyx +++ b/efl/eo/efl.eo.pyx @@ -162,7 +162,7 @@ cdef void _register_decorated_callbacks(Eo obj): # XXX: This whole thing is really slow. Can we do it better? - for attr_name, attrib in cls.__dict__.iteritems(): + for attr_name, attrib in cls.__dict__.items(): if "__decorated_callbacks__" in dir(attrib): for (func_name, *args) in getattr(attrib, "__decorated_callbacks__"): func = getattr(obj, func_name)