--- a/editors/DataTypeEditor.py Thu Oct 11 10:25:19 2018 +0300
+++ b/editors/DataTypeEditor.py Thu Oct 11 12:00:40 2018 +0300
@@ -26,7 +26,6 @@
from __future__ import absolute_import
import re
-from types import TupleType
from six.moves import xrange
import wx
@@ -83,7 +82,7 @@
colname = self.GetColLabelValue(col, False)
value = self.data[row].get(colname, "")
- if colname == "Type" and isinstance(value, TupleType):
+ if colname == "Type" and isinstance(value, tuple):
if value[0] == "array":
return "ARRAY [%s] OF %s" % (",".join(map("..".join, value[2])), value[1])
return value