##// END OF EJS Templates
manifest: delay import of `typing.ByteString` for py 3.14 support (issue6940)...
Matt Harbison -
r53224:0851d94b stable
parent child Browse files
Show More
@@ -10,10 +10,10 from __future__ import annotations
10 import heapq
10 import heapq
11 import itertools
11 import itertools
12 import struct
12 import struct
13 import typing
13 import weakref
14 import weakref
14
15
15 from typing import (
16 from typing import (
16 ByteString,
17 Callable,
17 Callable,
18 Collection,
18 Collection,
19 Dict,
19 Dict,
@@ -51,6 +51,12 from .revlogutils import (
51 constants as revlog_constants,
51 constants as revlog_constants,
52 )
52 )
53
53
54 if typing.TYPE_CHECKING:
55 from typing import (
56 ByteString,
57 )
58
59
54 parsers = policy.importmod('parsers')
60 parsers = policy.importmod('parsers')
55 propertycache = util.propertycache
61 propertycache = util.propertycache
56
62
General Comments 0
You need to be logged in to leave comments. Login now