Python: document writer.ArrayField
[babeltrace.git] / bindings / python / writer.py
index 06664808f0d4088f6c36129424ecccc309981bbc..f50b9d51fc25ec252cf9333fbf7a51f9e76ff9e3 100644 (file)
@@ -1368,9 +1368,17 @@ class VariantField(Field):
 
 
 class ArrayField(Field):
+    """
+    Static array field, based on an
+    :class:`ArrayFieldDeclaration` object.
+    """
+
     def field(self, index):
         """
-        Return the array's field at position "index".
+        Returns the :class:`Field` at index *index* in this static
+        array.
+
+        :exc:`IndexError` is raised on error.
         """
 
         native_instance = nbt._bt_ctf_field_array_get_field(self._f, index)
This page took 0.02278 seconds and 4 git commands to generate.