From: Philippe Proulx Date: Sat, 6 Dec 2014 21:39:13 +0000 (-0500) Subject: Python: document SequenceFieldDeclaration X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8eee0eb9c7389a24027ca5fc96d5abc3ca3e8b1b;p=deliverable%2Fbabeltrace.git Python: document SequenceFieldDeclaration Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 8015390c7..dcdf3e307 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -1016,7 +1016,13 @@ class ArrayFieldDeclaration(FieldDeclaration): class SequenceFieldDeclaration(FieldDeclaration): - """Do not instantiate.""" + """ + Sequence (dynamic array) field declaration. + + .. note:: + + As of this version, this class is missing some properties. + """ def __init__(self): raise NotImplementedError("SequenceFieldDeclaration cannot be instantiated") @@ -1024,7 +1030,7 @@ class SequenceFieldDeclaration(FieldDeclaration): @property def element_declaration(self): """ - Return element declaration. + Underlying element's field declaration. """ field_decl_ptr = nbt._bt_python_get_sequence_element_declaration(self._fd)