From e7e90300dd9b7ce5f560cf89e6cc29c8fb94586a Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Sat, 6 Dec 2014 16:49:30 -0500 Subject: [PATCH] Python: document VariantFieldDeclaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- bindings/python/bt.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 769719a3..469a3208 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") -- 2.34.1