mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-29 23:47:22 +08:00
csv: update DictReader for py38 (#3586)
This commit is contained in:
1 parent
caca02b096
commit
485b85e6b8
1 file changed
+3
-1
@@ -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