From 523dfb62220c3cbc82cd3b236b27c9216488ae3d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 7 Mar 2023 15:51:31 -0500 Subject: Fix typehint for lookup_imported_object_library --- python/binaryview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index a2b004fc..b7cb1a27 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -7250,15 +7250,15 @@ class BinaryView: def lookup_imported_object_library( self, addr: int, platform: Optional['_platform.Platform'] = None - ) -> Optional[Tuple[typelibrary.TypeLibrary, str]]: + ) -> Optional[Tuple[typelibrary.TypeLibrary, '_types.QualifiedNameType']]: """ ``lookup_imported_object_library`` gives you details of which type library and name was used to determine the type of a symbol at a given address :param addr: address of symbol at import site :param platform: Platform of symbol at import site - :return: A tuple of [TypeLibrary, str] with the library and name used, or None if it was not imported - :rtype: Tuple[TypeLibrary, str] + :return: A tuple of [TypeLibrary, QualifiedName] with the library and name used, or None if it was not imported + :rtype: Tuple[TypeLibrary, QualifiedName] """ if platform is None: -- cgit v1.3.1