Python bindings docs: clarify add_event_class comments
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 11 Oct 2014 19:37:33 +0000 (15:37 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 11 Oct 2014 19:37:33 +0000 (15:37 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.028062 seconds and 4 git commands to generate.