From d9b861b455da92d0faa1ee90d23acd3e305bc175 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 20 Jul 2021 11:39:57 +0200 Subject: brill_data.py: Python 3 compatibility --- brill_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brill_data.py b/brill_data.py index 043df09..df2b9ce 100644 --- a/brill_data.py +++ b/brill_data.py @@ -56,7 +56,7 @@ class BrillData(object): bdctx_alloc = self._libbd.bd_context_alloc bdctx_alloc.restype = ctypes.POINTER(self._BDContext) self._bdctx = self._libbd.bd_context_alloc() - for arg, value in kwargs.iteritems(): + for arg, value in kwargs.items(): try: self._bdctx.contents.__setattr__(arg, value) except TypeError as e: -- cgit v1.2.3