mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
csv: update DictReader for py38 (#3586)
This commit is contained in:
committed by
Jelle Zijlstra
parent
caca02b096
commit
485b85e6b8
@@ -51,7 +51,9 @@ if sys.version_info >= (3,):
|
||||
lineterminator: str
|
||||
quoting: int
|
||||
|
||||
if sys.version_info >= (3, 6):
|
||||
if sys.version_info >= (3, 8):
|
||||
_DRMapping = Dict[str, str]
|
||||
elif sys.version_info >= (3, 6):
|
||||
_DRMapping = OrderedDict[str, str]
|
||||
else:
|
||||
_DRMapping = Dict[str, str]
|
||||
|
||||
Reference in New Issue
Block a user