Python bindings docs: clarify add_event_class comments
[babeltrace.git] / bindings / python / babeltrace.i.in
index 3bccdc02fe212c74a5d8922fb39bd90500da8986..b1c4f50bea3ea54454c4ed12aa1cadeb1bb67288 100644 (file)
@@ -2781,7 +2781,8 @@ class CTFWriter:
                """
                Add an event class to a stream class. New events can be added even after a
                stream has been instantiated and events have been appended. However, a stream
-               will not accept events of a class that has not been registered beforehand.
+               will not accept events of a class that has not been added to the stream
+               class beforehand.
                """
                def add_event_class(self, event_class):
                        if not isinstance(event_class, CTFWriter.EventClass):
This page took 0.025046 seconds and 4 git commands to generate.