From d7dae709f93ef24516ae2db2f1f0d0ee333764f5 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 20 Jan 2022 13:17:41 -0500 Subject: Rework IL inheritance for Call instructions --- python/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/types.py') diff --git a/python/types.py b/python/types.py index 2af6a537..ac5d75f8 100644 --- a/python/types.py +++ b/python/types.py @@ -19,7 +19,7 @@ # IN THE SOFTWARE. import ctypes -from typing import Generator, List, Union, Mapping, Tuple, Optional +from typing import Generator, List, Union, Mapping, Tuple, Optional, Iterable from dataclasses import dataclass import uuid from abc import abstractmethod @@ -36,7 +36,7 @@ from . import binaryview from . import platform as _platform from . import typelibrary -QualifiedNameType = Union[List[str], str, 'QualifiedName', List[bytes]] +QualifiedNameType = Union[Iterable[Union[str, bytes]], str, 'QualifiedName'] BoolWithConfidenceType = Union[bool, 'BoolWithConfidence'] SizeWithConfidenceType = Union[int, 'SizeWithConfidence'] OffsetWithConfidenceType = Union[int, 'OffsetWithConfidence'] -- cgit v1.3.1