summaryrefslogtreecommitdiff
path: root/python/platform.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2023-10-19 11:23:43 -0400
committerJordan Wiens <jordan@psifertex.com>2023-10-19 11:23:43 -0400
commit52eeacdafc4d5eff861951db2099f831fb76ff10 (patch)
tree1fb5d07bba145e360f385503d98d6732374877e2 /python/platform.py
parentec70161d7f84fd4794b2715115228e06ee434d6d (diff)
fix parse_type_string cross-references
Diffstat (limited to 'python/platform.py')
-rw-r--r--python/platform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/platform.py b/python/platform.py
index c7651373..e60f9a8f 100644
--- a/python/platform.py
+++ b/python/platform.py
@@ -406,7 +406,7 @@ class Platform(metaclass=_PlatformMetaClass):
"""
``parse_types_from_source`` parses the source string and any needed headers searching for them in
the optional list of directories provided in ``include_dirs``. Note that this API does not allow
- the source to rely on existing types that only exist in a specific view. Use :py:class:`BinaryView.parse_type_string` instead.
+ the source to rely on existing types that only exist in a specific view. Use :py:meth:`BinaryView.parse_type_string` instead.
:param str source: source string to be parsed
:param str filename: optional source filename
@@ -461,7 +461,7 @@ class Platform(metaclass=_PlatformMetaClass):
"""
``parse_types_from_source_file`` parses the source file ``filename`` and any needed headers searching for them in
the optional list of directories provided in ``include_dirs``. Note that this API does not allow
- the source to rely on existing types that only exist in a specific view. Use :py:class:`BinaryView.parse_type_string` instead.
+ the source to rely on existing types that only exist in a specific view. Use :py:meth:`BinaryView.parse_type_string` instead.
:param str filename: filename of file to be parsed
:param include_dirs: optional list of string filename include directories