summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-01-31 18:04:47 -0500
committerGlenn Smith <glenn@vector35.com>2022-01-31 18:04:47 -0500
commite4fee86c3b24288ffac9bd5f305459a76b365d87 (patch)
treef589d28f8b43c39816d55d3ca89fb8bf9d5c0bd3 /python/types.py
parent4ee98c21c517e40a31d5eb51ef4cee9fe8b4bb7e (diff)
Fix ParamsType being the incorrect order
Should we change MembersType to be the same order? Change consumers of ParamsType to be the original order? Both of those are breaking changes whereas this just updates the type to correctly represent the current implementation.
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py
index e4392434..fae9d611 100644
--- a/python/types.py
+++ b/python/types.py
@@ -41,7 +41,7 @@ from . import typelibrary
QualifiedNameType = Union[Iterable[Union[str, bytes]], str, 'QualifiedName']
BoolWithConfidenceType = Union[bool, 'BoolWithConfidence']
OffsetWithConfidenceType = Union[int, 'OffsetWithConfidence']
-ParamsType = Union[List['Type'], List['FunctionParameter'], List[Tuple['Type', str]]]
+ParamsType = Union[List['Type'], List['FunctionParameter'], List[Tuple[str, 'Type']]]
MembersType = Union[List['StructureMember'], List['Type'], List[Tuple['Type', str]]]
EnumMembersType = Union[List[Tuple[str, int]], List[str], List['EnumerationMember']]
SomeType = Union['TypeBuilder', 'Type']