From f336fa97d187890d7ec25973387a9715e67ea813 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 14 Mar 2022 13:56:01 -0400 Subject: add additional documentation warning users from creating objects with handles directly --- python/types.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/types.py') diff --git a/python/types.py b/python/types.py index b086ef78..62cc0154 100644 --- a/python/types.py +++ b/python/types.py @@ -476,6 +476,9 @@ class MutableTypeBuilder: class TypeBuilder: + """ + All TypeBuilder objects should not be instantiated directly but created via ``.create`` APIs. + """ def __init__( self, handle: core.BNTypeBuilderHandle, platform: '_platform.Platform' = None, confidence: int = core.max_confidence -- cgit v1.3.1