From aca9e5518abb6e298de9f85a3cda551569c6ca74 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Mon, 30 Sep 2019 17:55:29 -0400 Subject: missed two functions for tags documentation --- python/function.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 114790ca..b99d7da0 100644 --- a/python/function.py +++ b/python/function.py @@ -940,7 +940,9 @@ class Function(object): def create_tag(self, type, data, user=True): """ - ``create_tag`` creates a new Tag object but does not add it anywhere + ``create_tag`` creates a new Tag object but does not add it anywhere. + Use :py:meth:`create_user_address_tag` or + :py:meth:`create_user_function_tag` to create and add in one step. :param TagType type: The Tag Type for this Tag :param str data: Additional data for the Tag @@ -1008,8 +1010,10 @@ class Function(object): def create_user_address_tag(self, addr, type, data, unique=False, arch=None): """ - ``create_user_address_tag`` creates and adds a Tag object at a given address. - Since this adds a user tag, it will be added to the current undo buffer. + ``create_user_address_tag`` creates and adds a Tag object at a given + address. Since this adds a user tag, it will be added to the current + undo buffer. To create tags associated with an address that is not + inside of a function, use :py:meth:`create_user_data_tag `. :param int addr: Address at which to add the tag :param TagType type: Tag Type for the Tag that is created -- cgit v1.3.1