This commit is contained in:
Will McGugan 2021-08-05 20:22:33 +01:00
parent 0d4585623d
commit 2cef98a7ac
1 changed files with 1 additions and 4 deletions

View File

@ -10,10 +10,10 @@ from dataclasses import dataclass, field
from datetime import datetime
from functools import wraps
from getpass import getpass
from inspect import isclass
from itertools import islice
from time import monotonic
from types import FrameType, TracebackType
from inspect import isclass
from typing import (
IO,
TYPE_CHECKING,
@ -28,12 +28,10 @@ from typing import (
TextIO,
Tuple,
Type,
Tuple,
Union,
cast,
)
if sys.version_info >= (3, 8):
from typing import Literal, Protocol, runtime_checkable
else:
@ -43,7 +41,6 @@ else:
runtime_checkable,
) # pragma: no cover
from . import errors, themes
from ._emoji_replace import _emoji_replace
from ._log_render import FormatTimeCallable, LogRender