From 9d32db1049d03841513039bf49c1948542ed4211 Mon Sep 17 00:00:00 2001 From: Calle Svensson Date: Sat, 23 Jan 2021 21:50:06 +0100 Subject: Changed SymbolType to Type in define_auto_symbol_and_var_or_function documentation --- python/binaryview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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) -- cgit v1.3.1