bt2: make `_ArrayField` inherit `collections.abc.MutableSequence`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jun 2019 03:39:21 +0000 (23:39 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 3 Jul 2019 01:31:27 +0000 (21:31 -0400)
commitc2ea62f5c3978874e4a5cf346e476e5fbdbf79de
tree868ca14a479b4077b03c13c29bf58f644b07eeef
parentf00b8d402364ed0b77c45a61467c1d27690222f7
bt2: make `_ArrayField` inherit `collections.abc.MutableSequence`

An array field is conceptually a mutable sequence just like an array
value (`ArrayValue`).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ia3f27fd524286e924b5529030963df33e7553336
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1562
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/bindings/python/bt2/bt2/field.py
This page took 0.025632 seconds and 4 git commands to generate.