bt2: EnumerationFieldType: rename append_mapping() -> add_mapping()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 19 Feb 2018 22:40:46 +0000 (17:40 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 03:32:03 +0000 (23:32 -0400)
commite4d04867e71ae83fe983b52b26e75d3cf850fd77
tree48345c622ce8ad97ac61936261248658cb02985b
parent0c1fafedfae2efbae9a914ef676cb39879099921
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.025132 seconds and 4 git commands to generate.