Python: document VariantFieldDeclaration
[babeltrace.git] / bindings / python / bt.py
index b431e21e428e3a569e57a65f33b9239848f0340f..469a3208d539adb677039efda8dc0d7419ee1ba4 100644 (file)
@@ -1066,14 +1066,26 @@ class StructureFieldDeclaration(FieldDeclaration):
 
 
 class StringFieldDeclaration(FieldDeclaration):
-    """Do not instantiate."""
+    """
+    String (NULL-terminated array of bytes) field declaration.
+
+    .. note::
+
+       As of this version, this class is missing some properties.
+    """
 
     def __init__(self):
         raise NotImplementedError("StringFieldDeclaration cannot be instantiated")
 
 
 class VariantFieldDeclaration(FieldDeclaration):
-    """Do not instantiate."""
+    """
+    Variant (dynamic selection between different types) field declaration.
+
+    .. note::
+
+       As of this version, this class is missing some properties.
+    """
 
     def __init__(self):
         raise NotImplementedError("VariantFieldDeclaration cannot be instantiated")
This page took 0.023702 seconds and 4 git commands to generate.