|
2 | 2 |
|
3 | 3 | import enum
|
4 | 4 | import functools
|
| 5 | +from collections.abc import Callable, Iterable, Iterator, Mapping, MutableSet, Sequence |
5 | 6 | from datetime import timedelta
|
6 | 7 | from ipaddress import IPv4Address, IPv6Address
|
7 |
| -from typing import Any, Tuple, TypeVar, Union, overload |
| 8 | +from typing import Any, TypeVar, Union, overload |
8 | 9 |
|
9 | 10 | import attr
|
10 | 11 | import psutil
|
11 | 12 | from attr import validators
|
12 | 13 |
|
13 | 14 | from . import colors, compat, pg, utils
|
14 |
| -from .compat import Callable, Iterable, Iterator, Mapping, MutableSet, Sequence |
15 | 15 | from .config import Configuration, Flag, HeaderSection, UISection
|
16 | 16 |
|
17 | 17 |
|
@@ -1186,7 +1186,7 @@ def copy_focused_query_to_clipboard(self) -> str:
|
1186 | 1186 | ActivityStats = Union[
|
1187 | 1187 | Iterable[WaitingProcess],
|
1188 | 1188 | Iterable[RunningProcess],
|
1189 |
| - Tuple[Iterable[WaitingProcess], SystemInfo], |
1190 |
| - Tuple[Iterable[BlockingProcess], SystemInfo], |
1191 |
| - Tuple[Iterable[LocalRunningProcess], SystemInfo], |
| 1189 | + tuple[Iterable[WaitingProcess], SystemInfo], |
| 1190 | + tuple[Iterable[BlockingProcess], SystemInfo], |
| 1191 | + tuple[Iterable[LocalRunningProcess], SystemInfo], |
1192 | 1192 | ]
|
0 commit comments