Commits

Armin Rigo committed 90ccc47

Python 3 compat

Comments (0)

Files changed (1)

             BType = ffi._get_cached_btype(tp)
             try:
                 value = backendlib.load_function(BType, name)
-            except KeyError, e:
+            except KeyError as e:
                 raise AttributeError('%s: %s' % (name, e))
             library.__dict__[name] = value
             return