diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-11 14:05:56 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-11 16:33:53 +0200 |
commit | b729de91470d09d7bcd4956357b8192bda7a4981 (patch) | |
tree | 015d48445ae797b7cff6b7e04f56beff75f99ff2 /poezio/types.py | |
parent | 93daf173244e44744f1e48982f5936beb296ae0b (diff) | |
download | poezio-b729de91470d09d7bcd4956357b8192bda7a4981.tar.gz poezio-b729de91470d09d7bcd4956357b8192bda7a4981.tar.bz2 poezio-b729de91470d09d7bcd4956357b8192bda7a4981.tar.xz poezio-b729de91470d09d7bcd4956357b8192bda7a4981.zip |
fix: typing imports for 3.9
Diffstat (limited to 'poezio/types.py')
-rw-r--r-- | poezio/types.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/poezio/types.py b/poezio/types.py new file mode 100644 index 00000000..66ce802f --- /dev/null +++ b/poezio/types.py @@ -0,0 +1,8 @@ +"""Poezio type stuff""" + +try: + from typing import TypedDict, Literal +except ImportError: + from typing_extensions import TypedDict, Literal + +__all__ = ['TypedDict', 'Literal'] |