Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jul 27, 2024
1 parent 08b2cb8 commit 4c53f9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jaraco/collections/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
from typing_extensions import Self

_RangeMapKT = TypeVar('_RangeMapKT', bound=_SupportsComparison)
else:
# _SupportsComparison doesn't exist at runtime,
# but _RangeMapKT is used in RangeMap's superclass' type parameters
_RangeMapKT = TypeVar('_RangeMapKT')

_T = TypeVar('_T')
_VT = TypeVar('_VT')
# _SupportsComparison doesn't exist at runtime,
# but _RangeMapKT is used in RangeMap's superclass' type parameters
_RangeMapKT = TypeVar('_RangeMapKT')

_Matchable = Union[Callable, Container, Iterable, re.Pattern]

Expand Down

0 comments on commit 4c53f9b

Please sign in to comment.