Skip to content

Commit

Permalink
_SupportsComparison doesn't exist at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jul 27, 2024
1 parent b163082 commit 08b2cb8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jaraco/collections/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
from _typeshed import SupportsKeysAndGetItem
from typing_extensions import Self

_RangeMapKT = TypeVar('_RangeMapKT', bound=_SupportsComparison)

_T = TypeVar('_T')
_RangeMapKT = TypeVar('_RangeMapKT', bound=_SupportsComparison)
_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 08b2cb8

Please sign in to comment.