Skip to content

Commit

Permalink
fucking stupid tuping
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 8, 2024
1 parent 1cbf579 commit 33311c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cantok/tokens/abstract/abstract_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
from cantok.tokens.abstract.report import CancellationReport
from cantok.tokens.abstract.coroutine_wrapper import WaitCoroutineWrapper

if sys.version_info > (3, 9):
from typing import TypeAlias
else: # pragma: no cover
from typing_extensions import TypeAlias

if sys.version_info > (3, 8):
IterableWithTokens: TypeAlias = Iterable['AbstractToken'] # pragma: no cover
Expand Down

0 comments on commit 33311c9

Please sign in to comment.