summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2022-07-31 14:32:57 -0400
committerJordan Wiens <jordan@psifertex.com>2022-07-31 14:32:57 -0400
commit522d8eb648bcf0f58d17d421e4f5967b251b0b70 (patch)
tree693660545bb00b5c4528efd4ca0c9a6febfe02bb /python/binaryview.py
parent9b835833024a5742741c06225c008bac847f2e74 (diff)
fix parse type documentation
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py4
1 files changed, 3 insertions, 1 deletions
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