Rename `init` methods to `initialize`
[babeltrace.git] / src / bindings / python / bt2 / bt2 / mip.py
index 43e1b7b85cc4b453bc51ccf71d178a8da61577ec..fabb0e224d384b544d1108ec9f50faa87d8049a8 100644 (file)
@@ -20,7 +20,7 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
-from bt2 import native_bt, object, utils
+from bt2 import native_bt, utils
 import bt2
 
 
@@ -47,7 +47,7 @@ def get_greatest_operative_mip_version(
             if descr.params is not None:
                 params_ptr = descr.params._ptr
 
-            status = native_bt.bt2_component_descriptor_set_add_descriptor_with_init_method_data(
+            status = native_bt.bt2_component_descriptor_set_add_descriptor_with_initialize_method_data(
                 comp_descr_set_ptr, base_cc_ptr, params_ptr, descr.obj
             )
             utils._handle_func_status(
This page took 0.02429 seconds and 4 git commands to generate.