typing extensions import
This commit is contained in:
parent
38140c564b
commit
84edd34fa6
2 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||
from dataclasses import dataclass
|
||||
from typing import Iterable, Sequence
|
||||
|
||||
from typing import Literal
|
||||
from typing_extensions import Literal
|
||||
|
||||
from ..color import ColorParseError
|
||||
from ._help_renderables import Example, Bullet, HelpText
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING, Literal, cast
|
||||
from typing import TYPE_CHECKING, cast
|
||||
|
||||
from typing_extensions import Literal
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing_extensions import Final
|
||||
|
|
|
|||
Loading…
Reference in a new issue