csv: update DictReader for py38 (#3586)

This commit is contained in:
hauntsaninja authored and Jelle Zijlstra committed 2020-01-07 21:40:19 -08:00
1 parent caca02b096
commit 485b85e6b8
1 file changed
+3 -1
+3 -1
View File
@@ -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]