Skip to content

Commit 05544aa

Browse files
committed
Sigh, 3.8 again.
1 parent 8e6f8fd commit 05544aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

referencing/_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
from collections.abc import Iterable, Iterator, Sequence
4-
from typing import Any, Callable, ClassVar, Generic, Protocol, cast
4+
from typing import Any, Callable, ClassVar, Generic, Protocol, Tuple, cast
55
from urllib.parse import unquote, urldefrag, urljoin
66

77
from attrs import evolve, field
@@ -13,7 +13,7 @@
1313
from referencing.typing import URI, Anchor as AnchorType, D, Mapping
1414

1515
EMPTY_RESOURCES: PMap[URI, Resource[Any]] = pmap({}, pre_size=64)
16-
EMPTY_ANCHORS = cast(PMap[tuple[URI, str], AnchorType[Any]], EMPTY_RESOURCES)
16+
EMPTY_ANCHORS = cast(PMap[Tuple[URI, str], AnchorType[Any]], EMPTY_RESOURCES)
1717
EMPTY_UNCRAWLED: PSet[URI] = pset(pre_size=128)
1818
EMPTY_PREVIOUS_RESOLVERS: PList[URI] = plist()
1919

0 commit comments

Comments
 (0)