File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
"""Timestamp comparison of files and groups of files."""
2
2
3
+ from __future__ import annotations
4
+
3
5
import functools
4
6
import os .path
5
7
from collections .abc import Callable , Iterable
11
13
from .errors import DistutilsFileError
12
14
13
15
_SourcesT = TypeVar (
14
- "_SourcesT" , bound = str | bytes | os .PathLike [str ] | os .PathLike [bytes ]
16
+ "_SourcesT" , bound = " str | bytes | os.PathLike[str] | os.PathLike[bytes]"
15
17
)
16
18
_TargetsT = TypeVar (
17
- "_TargetsT" , bound = str | bytes | os .PathLike [str ] | os .PathLike [bytes ]
19
+ "_TargetsT" , bound = " str | bytes | os.PathLike[str] | os.PathLike[bytes]"
18
20
)
19
21
20
22
Original file line number Diff line number Diff line change 46
46
_Ts = TypeVarTuple ("_Ts" )
47
47
48
48
_Macro : TypeAlias = Union [Tuple [str ], Tuple [str , str | None ]]
49
- _StrPathT = TypeVar ("_StrPathT" , bound = str | os .PathLike [str ])
50
- _BytesPathT = TypeVar ("_BytesPathT" , bound = bytes | os .PathLike [bytes ])
49
+ _StrPathT = TypeVar ("_StrPathT" , bound = " str | os.PathLike[str]" )
50
+ _BytesPathT = TypeVar ("_BytesPathT" , bound = " bytes | os.PathLike[bytes]" )
51
51
52
52
53
53
class Compiler :
You can’t perform that action at this time.
0 commit comments