Use Literal in a few more places (#3176)

This commit is contained in:
Sebastian Rittau authored and Jelle Zijlstra committed 2019-08-10 13:08:18 -07:00
1 parent c579f91077
commit 628eee29f7
6 files changed
+54 -17

No files matched your search

+5 -1
View File
@@ -1,10 +1,14 @@
# Stubs for xml.etree.ElementTree
from typing import Any, Callable, Dict, Generator, IO, ItemsView, Iterable, Iterator, KeysView, List, MutableSequence, Optional, overload, Sequence, Text, Tuple, TypeVar, Union
from typing_extensions import Literal
import io
import sys
if sys.version_info < (3,) or sys.version_info >= (3, 8):
from typing import Literal
else:
from typing_extensions import Literal
VERSION: str
class ParseError(SyntaxError):