From: Philippe Proulx Date: Sat, 6 Dec 2014 21:49:30 +0000 (-0500) Subject: Python: document VariantFieldDeclaration X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e7e90300dd9b7ce5f560cf89e6cc29c8fb94586a;p=deliverable%2Fbabeltrace.git Python: document VariantFieldDeclaration 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 769719a34..469a3208d 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -1079,7 +1079,13 @@ class StringFieldDeclaration(FieldDeclaration): 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")