mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-26 21:08:59 +08:00
Add csv.__version__ (#7357)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from typing import Any, Iterable, Iterator, Protocol, Union
|
||||
from typing_extensions import Literal
|
||||
|
||||
__version__: str
|
||||
|
||||
QUOTE_ALL: Literal[1]
|
||||
QUOTE_MINIMAL: Literal[0]
|
||||
QUOTE_NONE: Literal[3]
|
||||
|
||||
@@ -6,6 +6,7 @@ from _csv import (
|
||||
QUOTE_NONNUMERIC as QUOTE_NONNUMERIC,
|
||||
Dialect as Dialect,
|
||||
Error as Error,
|
||||
__version__ as __version__,
|
||||
_DialectLike,
|
||||
_reader,
|
||||
_writer,
|
||||
|
||||
@@ -65,7 +65,6 @@ configparser.SectionProxy.getboolean
|
||||
configparser.SectionProxy.getfloat
|
||||
configparser.SectionProxy.getint
|
||||
copy.PyStringMap # defined only in Jython
|
||||
csv.__version__ # Always "1.0". Using this is likely a bug. #6398
|
||||
# The Dialect properties are initialized as None in Dialect but their values are enforced in _Dialect
|
||||
csv.Dialect.delimiter
|
||||
csv.Dialect.doublequote
|
||||
|
||||
Reference in New Issue
Block a user