X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fstream.py;fp=bindings%2Fpython%2Fbt2%2Fbt2%2Fstream.py;h=5accfcd0751cfdf271121587b1b6b0d8c73a1ab1;hp=df3049251b2a2b55544d2b71935b13df7c3c60fe;hb=e8ac1aaec8f07304d16bf787950c14cd7c49fc75;hpb=2c6f8520ad68e1ca0c9554d705c39790e7d3ef5f diff --git a/bindings/python/bt2/bt2/stream.py b/bindings/python/bt2/bt2/stream.py index df304925..5accfcd0 100644 --- a/bindings/python/bt2/bt2/stream.py +++ b/bindings/python/bt2/bt2/stream.py @@ -31,7 +31,7 @@ class _Stream(bt2.object._SharedObject): _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)