aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-07-20 11:39:57 +0200
committerAnton Khirnov <anton@khirnov.net>2021-07-20 11:39:57 +0200
commitd9b861b455da92d0faa1ee90d23acd3e305bc175 (patch)
tree73926f2969f5b9f6a15e03c04c6ec87a5cb29b86
parentc74e7f60c46c8e39e4c3633077d3992e653849c4 (diff)
brill_data.py: Python 3 compatibility
-rw-r--r--brill_data.py2
1 files changed, 1 insertions, 1 deletions
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: