summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-08-10 16:37:39 -0400
committerPeter LaFosse <peter@vector35.com>2017-08-11 13:35:47 -0400
commit7a31f8a9d426ebe9843183e7cfa23ff6c26e2af6 (patch)
tree3f97887a2e807a3ece6ec952c44184f7517fc35f
parent326253abc74f7d6b601e03463df6abe8b8929428 (diff)
Fix some documentation issues
-rw-r--r--python/binaryview.py4
-rw-r--r--python/lineardisassembly.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 31fb8d73..a43bd5b5 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -1429,7 +1429,7 @@ class BinaryView(object):
"""
``save_auto_snapshot`` saves the current database to the already created file.
- .. note:: :py:method:`create_database` should have been called prior to executing this method
+ .. note:: :py:meth:`create_database` should have been called prior to executing this method
:param callable() progress_func: optional function to be called with the current progress and total count.
:return: True if it successfully saved the snapshot, False otherwise
@@ -2743,7 +2743,7 @@ class BinaryView(object):
def get_linear_disassembly_position_at(self, addr, settings):
"""
``get_linear_disassembly_position_at`` instantiates a :py:class:`LinearDisassemblyPosition` object for use in
- :py:method:`get_previous_linear_disassembly_lines` or :py:method:`get_next_linear_disassembly_lines`.
+ :py:meth:`get_previous_linear_disassembly_lines` or :py:meth:`get_next_linear_disassembly_lines`.
:param int addr: virtual address of linear disassembly position
:param DisassemblySettings settings: an instantiated :py:class:`DisassemblySettings` object
diff --git a/python/lineardisassembly.py b/python/lineardisassembly.py
index 5ef8d623..f41fdfcb 100644
--- a/python/lineardisassembly.py
+++ b/python/lineardisassembly.py
@@ -24,7 +24,7 @@ class LinearDisassemblyPosition(object):
``class LinearDisassemblyPosition`` is a helper object containing the position of the current Linear Disassembly.
.. note:: This object should not be instantiated directly. Rather call \
- :py:method:`get_linear_disassembly_position_at` which instantiates this object.
+ :py:meth:`get_linear_disassembly_position_at` which instantiates this object.
"""
def __init__(self, func, block, addr):
self.function = func