From 52eeacdafc4d5eff861951db2099f831fb76ff10 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 19 Oct 2023 11:23:43 -0400 Subject: fix parse_type_string cross-references --- python/platform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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 -- cgit v1.3.1