Skip to content

Commit c1e2795

Browse files
committed
Fix broken comment in function.py
1 parent 5684347 commit c1e2795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def basic_blocks(self) -> BasicBlockList:
553553
return BasicBlockList(self)
554554

555555
@property
556-
def comments(self) -> Mapping[int, str]:
556+
def comments(self) -> Dict[int, str]:
557557
"""Dict of comments (read-only)"""
558558
count = ctypes.c_ulonglong()
559559
addrs = core.BNGetCommentedAddresses(self.handle, count)
@@ -569,8 +569,8 @@ def create_user_tag(self, type:'binaryview.TagType', data:str="") -> 'binaryview
569569
return self.create_tag(type, data, True)
570570

571571
def create_auto_tag(self, type:'binaryview.TagType', data:str="") -> 'binaryview.Tag':
572+
"""Create an _auto_ Tag object"""
572573
return self.create_tag(type, data, False)
573-
# """Create an _auto_ Tag object"""
574574

575575
def create_tag(self, type:'binaryview.TagType', data:str="", user:bool=True) -> 'binaryview.Tag':
576576
"""

0 commit comments

Comments
 (0)