We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_frozen_attrs
1 parent 36da822 commit eb20288Copy full SHA for eb20288
dss/_cffi_api_util.py
@@ -161,11 +161,13 @@ class Base:
161
'_prepare_complex128_array',
162
'_prepare_complex128_simple',
163
'_errorPtr',
164
+ '_frozen_attrs',
165
]
166
167
_use_exceptions = True
168
169
def __init__(self, api_util, prefer_lists=False):
170
+ object.__setattr__(self, '_frozen_attrs', False)
171
self._lib = api_util.lib
172
self._api_util = api_util
173
self._get_string = api_util.get_string
@@ -871,6 +873,7 @@ def prepare_int32_array(self, value):
871
873
cnt = value.size
872
874
return value, ptr, cnt
875
876
+
877
def prepare_string_array(self, value: List[AnyStr]):
878
if value is None:
879
raise ValueError("Value cannot be None!")
0 commit comments