summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-01-20 13:17:41 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-20 13:17:41 -0500
commitd7dae709f93ef24516ae2db2f1f0d0ee333764f5 (patch)
tree548ff46b743ca644ff16007b9411539e01ffdd3b /python/types.py
parent65c1ab279b34f11070a450de993886df9c7353ec (diff)
Rework IL inheritance for Call instructions
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py4
1 files changed, 2 insertions, 2 deletions
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']