From c1e27951e1c25f4948f62b586d01e6166fd99bd8 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 27 Jan 2022 14:42:20 -0500 Subject: Fix broken comment in function.py --- python/function.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index a16fc6e4..61cc11a8 100644 --- a/python/function.py +++ b/python/function.py @@ -553,7 +553,7 @@ class Function: return BasicBlockList(self) @property - def comments(self) -> Mapping[int, str]: + def comments(self) -> Dict[int, str]: """Dict of comments (read-only)""" count = ctypes.c_ulonglong() addrs = core.BNGetCommentedAddresses(self.handle, count) @@ -569,8 +569,8 @@ class Function: return self.create_tag(type, data, True) def create_auto_tag(self, type:'binaryview.TagType', data:str="") -> 'binaryview.Tag': + """Create an _auto_ Tag object""" return self.create_tag(type, data, False) - # """Create an _auto_ Tag object""" def create_tag(self, type:'binaryview.TagType', data:str="", user:bool=True) -> 'binaryview.Tag': """ -- cgit v1.3.1