Skip to content

Commit e6febc6

Browse files
author
Augusto
committed
ABCs should import from collections.abc on Py3.7+
1 parent 61e188c commit e6febc6

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

CHANGES/3273.bugfix

Whitespace-only changes.

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Georges Dubus
8787
Greg Holt
8888
Gregory Haynes
8989
Günther Jena
90+
Gus Goulart
9091
Gustavo Carneiro
9192
Hu Bo
9293
Hugo Herter

aiohttp/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import socket
44
import sys
55
from argparse import ArgumentParser
6-
from collections import Iterable
6+
from collections.abc import Iterable
77
from importlib import import_module
88

99
from . import (helpers, web_app, web_exceptions, web_fileresponse,

aiohttp/web_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import asyncio
22
import logging
33
import warnings
4-
from collections import MutableMapping
4+
from collections.abc import MutableMapping
55
from functools import partial
66
from typing import (TYPE_CHECKING, Any, Awaitable, Callable, List, Mapping,
77
Optional, Sequence, Tuple, Union)

tests/test_web_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import socket
2-
from collections import MutableMapping
2+
from collections.abc import MutableMapping
33
from unittest import mock
44

55
import pytest

0 commit comments

Comments
 (0)