From 4d9138e3ef76ce300f054a8cb07b1a2327b35a83 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sat, 14 Sep 2019 01:06:50 -0400 Subject: lots of small documentation updates, mostly around making sure parameters are consistent and typed properly --- python/function.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 8080c626..d25a8747 100644 --- a/python/function.py +++ b/python/function.py @@ -1557,8 +1557,8 @@ class Function(object): """ ``set_comment_at`` sets a comment for the current function at the address specified - :param addr int: virtual address within the current function to apply the comment to - :param comment str: string comment to apply + :param int addr: virtual address within the current function to apply the comment to + :param str comment: string comment to apply :rtype: None :Example: @@ -1574,9 +1574,9 @@ class Function(object): source instruction is not contained within this function, no action is performed. To remove the reference, use :func:`remove_user_code_ref`. - :param from_addr int: virtual address of the source instruction - :param to_addr int: virtual address of the xref's destination. - :param from_arch Architecture: (optional) architecture of the source instruction + :param int from_addr: virtual address of the source instruction + :param int to_addr: virtual address of the xref's destination. + :param Architecture from_arch: (optional) architecture of the source instruction :rtype: None :Example: @@ -1595,9 +1595,9 @@ class Function(object): If the given address is not contained within this function, or if there is no such user-defined cross-reference, no action is performed. - :param from_addr int: virtual address of the source instruction - :param to_addr int: virtual address of the xref's destination. - :param from_arch Architecture: (optional) architecture of the source instruction + :param int from_addr: virtual address of the source instruction + :param int to_addr: virtual address of the xref's destination. + :param Architecture from_arch: (optional) architecture of the source instruction :rtype: None :Example: -- cgit v1.3.1