diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index fdc5ec27..40a4ebf2 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -3668,7 +3668,7 @@ class BinaryView(object): .. warning:: If multiple symbols for the same address are defined, only the most recent symbol will ever be used. :param Symbol sym: the symbol to define - :param SymbolType sym_type: Type of symbol being defined (can be None) + :param Type sym_type: Type of symbol being defined (can be None) :param Platform plat: (optional) platform :rtype: None """ @@ -3680,7 +3680,7 @@ class BinaryView(object): if isinstance(sym_type, binaryninja.Type): sym_type = sym_type.handle elif sym_type is not None: - raise AttributeError("Provided sym_type is not of type `binaryninja.SymbolType`") + raise AttributeError("Provided sym_type is not of type `binaryninja.Type`") core.BNDefineAutoSymbolAndVariableOrFunction(self.handle, plat.handle, sym.handle, sym_type) |
