Skip to content

Commit 17ac386

Browse files
utkonospsifertex
authored andcommitted
Correct typos in Function.add_tag docs. Fixes #6796
1 parent d7e5879 commit 17ac386

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/function.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,13 @@ def add_tag(
834834
Function.add_tag, you'll create an "address tag". These are good for labeling
835835
specific instructions.
836836
837-
For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.add_tag`.
837+
For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.BinaryView.add_tag`.
838838
839-
:param str tag_type_name: The name of the tag type for this Tag
839+
:param str tag_type: The name of the tag type for this Tag
840840
:param str data: additional data for the Tag
841841
:param int addr: address at which to add the tag
842-
:param bool user: Whether or not a user tag
842+
:param bool auto: Whether or not an auto tag
843+
:param Architecture arch: Architecture for the block in which the Tag is added (optional)
843844
:Example:
844845
845846
>>> current_function.add_tag("Important", "I think this is the main function")

0 commit comments

Comments
 (0)