diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-27 14:42:20 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-27 14:42:37 -0500 |
| commit | c1e27951e1c25f4948f62b586d01e6166fd99bd8 (patch) | |
| tree | e7516016cecfd8c6f61d7011b169a258aa15a3ea /python | |
| parent | 5684347b252ded70745185415513d45a8a4a6191 (diff) | |
Fix broken comment in function.py
Diffstat (limited to 'python')
| -rw-r--r-- | python/function.py | 4 |
1 files changed, 2 insertions, 2 deletions
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': """ |
