Use Literal types in csv (#6823)

This commit is contained in:
Nikita Sobolev
2022-01-05 13:29:01 +03:00
committed by GitHub
parent 73d5098e0b
commit ca7e0964c4

View File

@@ -1,9 +1,10 @@
from typing import Any, Iterable, Iterator, Protocol, Type, Union
from typing_extensions import Literal
QUOTE_ALL: int
QUOTE_MINIMAL: int
QUOTE_NONE: int
QUOTE_NONNUMERIC: int
QUOTE_ALL: Literal[1]
QUOTE_MINIMAL: Literal[0]
QUOTE_NONE: Literal[3]
QUOTE_NONNUMERIC: Literal[2]
class Error(Exception): ...