~lttng/babeltrace/trunk

Viewing all changes in revision 4399.

  • Committer: Simon Marchi
  • Date: 2023-06-08 19:13:01 UTC
  • Revision ID: git-v1:e57959f4c84bbec191771a1598e270bfc19b6c7f
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: