Skip to content

Commit

Permalink
Fix runtime alias error
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Oct 17, 2024
1 parent 4cec805 commit dc679ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setuptools/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from collections.abc import Sequence
from glob import iglob
from pathlib import Path
from typing import TYPE_CHECKING, Any, List, MutableMapping, Tuple, Union
from typing import TYPE_CHECKING, Any, Dict, List, MutableMapping, Tuple, Union

from more_itertools import partition, unique_everseen
from packaging.markers import InvalidMarker, Marker
Expand Down Expand Up @@ -55,7 +55,7 @@
_Sequence: TypeAlias = Union[Tuple[str, ...], List[str]]
# This is how stringifying _Sequence would look in Python 3.10
_sequence_type_repr = "tuple[str, ...] | list[str]"
_OrderedStrSequence = Union[str, dict[str, Any], Sequence[str]]
_OrderedStrSequence: TypeAlias = Union[str, Dict[str, Any], Sequence[str]]
"""
:meta private:
Avoid single-use iterable. Disallow sets.
Expand Down

0 comments on commit dc679ef

Please sign in to comment.