Skip to content

Commit 0364c50

Browse files
committed
remove object fallback for Literal on py3.7
1 parent 5ed2592 commit 0364c50

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

distributed/actor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
from typing import Literal
2929
elif TYPE_CHECKING:
3030
from typing_extensions import Literal
31-
else:
32-
Literal = object
3331

3432
if sys.version_info >= (3, 10):
3533
from asyncio import Event as _LateLoopEvent

0 commit comments

Comments
 (0)