bt2: make `_ArrayField` inherit `collections.abc.MutableSequence`
[babeltrace.git] / src / bindings / python / bt2 / bt2 / field.py
index d35cb25887f4752e299167f689a9589903e159e4..3a735ec3ca4293c50088f7ba2c9132f48271cfbe 100644 (file)
@@ -525,8 +525,7 @@ class _VariantField(_ContainerField, _Field):
     value = property(fset=_set_value)
 
 
-class _ArrayField(_ContainerField, _Field):
-
+class _ArrayField(_ContainerField, _Field, collections.abc.MutableSequence):
     def _get_length(self):
         return native_bt.field_array_get_length(self._ptr)
 
This page took 0.026122 seconds and 4 git commands to generate.