summaryrefslogtreecommitdiff
path: root/python/typeparser.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2024-02-08 11:33:51 -0500
committerPeter LaFosse <peter@vector35.com>2024-02-08 12:21:31 -0500
commitbae3056d1bed0331a466ea19dedfca68bc023232 (patch)
treeeca1a1f5709863690fdc562cb5081b0af993e9c2 /python/typeparser.py
parent533b108f96f9073fd4e075ccd330c07713a49d99 (diff)
Convert some assertions to raise ValueError in NTR creation
Diffstat (limited to 'python/typeparser.py')
-rw-r--r--python/typeparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typeparser.py b/python/typeparser.py
index d56f6b59..e4a6ef2e 100644
--- a/python/typeparser.py
+++ b/python/typeparser.py
@@ -481,7 +481,7 @@ class TypeParser(metaclass=_TypeParserMetaclass):
:param source: Source code to parse
:param platform: Platform to assume the types are relevant to
:param existing_types: Optional map of all existing types to use for parsing context
- :return: A tuple of (result, errors) where result is a tuple of (type, name) or
+ :return: A tuple of (result, errors) where result is a tuple of (name, type) or
None of there was a fatal error.
"""
raise NotImplementedError("Not implemented")