From f3112cce751de039b0b26ee37cdaab637e056c4e Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 16 Mar 2022 10:33:43 -0400 Subject: Add type hints to typelibrary.py and fix type hint for get_address_tags_of_type --- python/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index b1887628..55d87fe7 100644 --- a/python/function.py +++ b/python/function.py @@ -1745,7 +1745,7 @@ class Function: finally: core.BNFreeTagList(tags, count.value) - def get_address_tags_of_type(self, addr: 'architecture.Architecture', tag_type: 'binaryview.TagType', arch=None): + def get_address_tags_of_type(self, addr: int, tag_type: 'binaryview.TagType', arch=None): """ ``get_address_tags_of_type`` gets a list of all Tags in the function at a given address with a given type. -- cgit v1.3.1