python: mark _SharedObject._{get,put}_ref as abstract methods
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Jun 2023 15:21:31 +0000 (11:21 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Jun 2023 19:13:01 +0000 (15:13 -0400)
commite57959f4c84bbec191771a1598e270bfc19b6c7f
tree99dbb4a282512ecd0331afccd944d6cb8a76e64b
parentcc610c520f308dd780e0e638975ad0a002a83ef8
python: mark _SharedObject._{get,put}_ref as abstract methods

_get_ref and _put_ref must be implemented by any sub-class of
_SharedObject, marking them as abstract methods could help find
mistakes.

Change-Id: I0e161a0bbc1c432d9ed59279d3e4b1b6f6a26215
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10239
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/bindings/python/bt2/bt2/object.py
This page took 0.026426 seconds and 4 git commands to generate.