summaryrefslogtreecommitdiff
path: root/coverage/types.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-30 07:05:42 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-30 09:57:46 -0500
commit27990185352f035bafbb0cc7c8ac4159e87fe070 (patch)
treee3f0a1a19f893347c7909294db770e6aa8e514d6 /coverage/types.py
parentc802be289c40f896e910a4f34f1ce27aedc44a0b (diff)
downloadpython-coveragepy-git-27990185352f035bafbb0cc7c8ac4159e87fe070.tar.gz
mypy: inorout.py, disposition.py, and part of control.py
Diffstat (limited to 'coverage/types.py')
-rw-r--r--coverage/types.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/coverage/types.py b/coverage/types.py
index d138b2f2..b7390962 100644
--- a/coverage/types.py
+++ b/coverage/types.py
@@ -6,7 +6,7 @@ Types for use throughout coverage.py.
"""
from types import ModuleType
-from typing import Dict, Iterable, List, Optional, Tuple, Union, TYPE_CHECKING
+from typing import Dict, Iterable, List, Optional, Sequence, Tuple, Union, TYPE_CHECKING
if TYPE_CHECKING:
# Protocol is new in 3.8. PYVERSIONS
@@ -74,3 +74,6 @@ class TDebugCtl(Protocol):
def write(self, msg: str) -> None:
"""Write a line of debug output."""
+
+# Data returned from sys_info()
+TSysInfo = Sequence[Tuple[str, Union[str, Iterable[str]]]]