From 26b2e184512733c61b823a8be15bb1b0a53c5fb8 Mon Sep 17 00:00:00 2001 From: utkonos Date: Fri, 18 Apr 2025 19:09:02 -0400 Subject: [PATCH] Cleanup docstring for `Function.add_tag` --- python/function.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/function.py b/python/function.py index 6d20359a5..6d045aa89 100644 --- a/python/function.py +++ b/python/function.py @@ -834,12 +834,13 @@ def add_tag( Function.add_tag, you'll create an "address tag". These are good for labeling specific instructions. - For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.add_tag`. + For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.BinaryView.add_tag`. - :param str tag_type_name: The name of the tag type for this Tag + :param str tag_type: The name of the tag type for this Tag :param str data: additional data for the Tag :param int addr: address at which to add the tag - :param bool user: Whether or not a user tag + :param bool auto: Whether or not an auto tag + :param Architecture arch: Architecture for the location in which the Tags is located (optional) :Example: >>> current_function.add_tag("Important", "I think this is the main function")