Skip to content

Commit b8c51b9

Browse files
authored
DO-NOT-MERGE: Use Type Alias instead of import in csv.pyi
I came across a mypy bug while working on python#6717; this PR is just so that I can get a good repro for a bug report to mypy.
1 parent 22bf9e8 commit b8c51b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/csv.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
2121
from typing import Any, Generic, Type, TypeVar, overload
2222

2323
if sys.version_info >= (3, 8):
24-
from builtins import dict as _DictReadMapping
24+
_DictReadMapping = dict
2525
else:
2626
from collections import OrderedDict as _DictReadMapping
2727

0 commit comments

Comments
 (0)