From 53bbcbebf77d8d45f4349078116f648fdde5b753 Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Sat, 11 May 2024 10:32:25 -0300 Subject: fix py function.get_tags_at returned type --- python/function.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/function.py b/python/function.py index e08bb6c3..3f667b5f 100644 --- a/python/function.py +++ b/python/function.py @@ -659,10 +659,9 @@ class Function: """ return TagList(self) - def get_tags_at(self, addr: int, arch: Optional['architecture.Architecture'] = None, auto: Optional[bool] = None) -> List[Tuple['architecture.Architecture', int, 'binaryview.Tag']]: + def get_tags_at(self, addr: int, arch: Optional['architecture.Architecture'] = None, auto: Optional[bool] = None) -> List['binaryview.Tag']: """ - ``get_tags`` gets a list of Tags (but not function tags). You optionally get tags by address, range, or type, and filter by user tags. - Tags are returned as a list of (arch, address, Tag) tuples. + ``get_tags`` gets a list of Tags (but not function tags). :param int addr: Address to get tags from. :param bool auto: If None, gets all tags, if True, gets auto tags, if False, gets user tags -- cgit v1.3.1