diff --git a/CHANGES/3258.bugfix b/CHANGES/3258.bugfix new file mode 100644 index 00000000000..35481e7b803 --- /dev/null +++ b/CHANGES/3258.bugfix @@ -0,0 +1 @@ +Change imports from collections module in preparation for 3.8. \ No newline at end of file diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 1e0e71b3716..c5fcd50c20c 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -144,6 +144,7 @@ Michael Ihnatenko Mikhail Kashkin Mikhail Lukyanchenko Misha Behersky +Mitchell Ferree Morgan Delahaye-Prat Moss Collum Mun Gwan-gyeong diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py index 0e46ea45f76..736745c4496 100644 --- a/aiohttp/multipart.py +++ b/aiohttp/multipart.py @@ -5,7 +5,8 @@ import uuid import warnings import zlib -from collections import Mapping, Sequence, deque +from collections import deque +from collections.abc import Mapping, Sequence from urllib.parse import parse_qsl, unquote, urlencode from multidict import CIMultiDict