bt2: EnumerationFieldType: rename append_mapping() -> add_mapping()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 19 Feb 2018 22:40:46 +0000 (17:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:33 +0000 (18:19 -0400)
commit001b7a8964fc2fdf1c24222c51e732b13ca0d2cb
treed68ee24052871c2b794b50023d4515a0ca937489
parent3669ec10ad4c06f8148ccd24e9054f39b6eca6fe
bt2: EnumerationFieldType: rename append_mapping() -> add_mapping()

We're not _appending_ anything in bt2.EnumerationFieldType here, as
opposed to bt2.StructureFieldType (which contains ordered fields), so
the method should be named add_mapping(), like a Python set has the
add() method, whereas a Python list has the append() method.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
bindings/python/babeltrace/babeltrace/writer.py
bindings/python/bt2/bt2/field_types.py
tests/bindings/python/babeltrace/test_reader_field_declaration.py
tests/bindings/python/bt2/test_field_types.py
tests/bindings/python/bt2/test_fields.py
tests/lib/ctf-ir/test_trace.py
This page took 0.025662 seconds and 4 git commands to generate.