Fem: [skip ci] fix runtime failure when using Py3.10

This commit is contained in:
wmayer
2022-01-24 10:28:22 +01:00
parent ff43496b6a
commit eb4197aa25

View File

@@ -339,7 +339,7 @@ class _Writer(object):
def _isCollection(self, data):
return (
not isinstance(data, six.string_types)
and isinstance(data, collections.Iterable)
and isinstance(data, collections.abc.Iterable)
)
def _checkScalar(self, dataType):