summaryrefslogtreecommitdiff
path: root/poezio/types.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-11 14:29:21 +0200
committermathieui <mathieui@mathieui.net>2021-04-11 16:33:53 +0200
commit6b2c12c16c74af6bef268d329bc70e520e8dcfbd (patch)
treec45a010d3173caecf9c04b8b3845462f8d705ffb /poezio/types.py
parentb729de91470d09d7bcd4956357b8192bda7a4981 (diff)
downloadpoezio-6b2c12c16c74af6bef268d329bc70e520e8dcfbd.tar.gz
poezio-6b2c12c16c74af6bef268d329bc70e520e8dcfbd.tar.bz2
poezio-6b2c12c16c74af6bef268d329bc70e520e8dcfbd.tar.xz
poezio-6b2c12c16c74af6bef268d329bc70e520e8dcfbd.zip
fix: do not use Literal
Diffstat (limited to 'poezio/types.py')
-rw-r--r--poezio/types.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/poezio/types.py b/poezio/types.py
index 66ce802f..8d727f46 100644
--- a/poezio/types.py
+++ b/poezio/types.py
@@ -1,8 +1,8 @@
"""Poezio type stuff"""
try:
- from typing import TypedDict, Literal
+ from typing import TypedDict
except ImportError:
- from typing_extensions import TypedDict, Literal
+ from typing_extensions import TypedDict
-__all__ = ['TypedDict', 'Literal']
+__all__ = ['TypedDict']