bt2: rename object's own BT class property to `cls`
[babeltrace.git] / bindings / python / bt2 / bt2 / stream.py
index df3049251b2a2b55544d2b71935b13df7c3c60fe..5accfcd0751cfdf271121587b1b6b0d8c73a1ab1 100644 (file)
@@ -31,7 +31,7 @@ class _Stream(bt2.object._SharedObject):
     _put_ref = staticmethod(native_bt.stream_put_ref)
 
     @property
     _put_ref = staticmethod(native_bt.stream_put_ref)
 
     @property
-    def stream_class(self):
+    def cls(self):
         stream_class_ptr = native_bt.stream_borrow_class(self._ptr)
         assert stream_class_ptr is not None
         return bt2.stream_class._StreamClass._create_from_ptr_and_get_ref(stream_class_ptr)
         stream_class_ptr = native_bt.stream_borrow_class(self._ptr)
         assert stream_class_ptr is not None
         return bt2.stream_class._StreamClass._create_from_ptr_and_get_ref(stream_class_ptr)
This page took 0.023309 seconds and 4 git commands to generate.