bt2: update object model
[babeltrace.git] / bindings / python / bt2 / bt2 / plugin.py
index a37e7631340d206f0b6988af8777f0f058730e14..a7ecf9b35064cb20337cbe06aad18e13ebbc9e43 100644 (file)
@@ -53,7 +53,7 @@ def find_plugin(name):
     return _Plugin._create_from_ptr(ptr)
 
 
-class _PluginSet(object._Object, collections.abc.Sequence):
+class _PluginSet(object._SharedObject, collections.abc.Sequence):
     def __len__(self):
         count = native_bt.plugin_set_get_plugin_count(self._ptr)
         assert(count >= 0)
@@ -170,7 +170,7 @@ class _PluginComponentClasses(collections.abc.Mapping):
         return _PluginComponentClassesIterator(self)
 
 
-class _Plugin(object._Object):
+class _Plugin(object._SharedObject):
     @property
     def name(self):
         name = native_bt.plugin_get_name(self._ptr)
This page took 0.026061 seconds and 4 git commands to generate.