From e4fee86c3b24288ffac9bd5f305459a76b365d87 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 31 Jan 2022 18:04:47 -0500 Subject: 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. --- python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/types.py') 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'] -- cgit v1.3.1