From 522d8eb648bcf0f58d17d421e4f5967b251b0b70 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sun, 31 Jul 2022 14:32:57 -0400 Subject: fix parse type documentation --- python/binaryview.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index 4cee0ab8..c527b09f 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -6265,7 +6265,9 @@ class BinaryView: def parse_type_string(self, text: str) -> Tuple['_types.Type', '_types.QualifiedName']: """ ``parse_type_string`` parses string containing C into a single type :py:Class:`Type`. - In contrast to the :py:'platform + In contrast to the :py:class:`Platform.parse_types_from_source` or :py:class:`Platform.parse_types_from_source_file`, ``parse_type_string`` + can only load a single type, though it can take advantage of existing type information in the binary + view, while those two APIs do not. :param str text: C source code string of type to create :return: A tuple of a :py:Class:`Type` and type name -- cgit v1.3.1