Skip to content

Commit

Permalink
ABCs should import from collections.abc on Py3.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
Augusto committed Sep 18, 2018
1 parent 61e188c commit e6febc6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Empty file added CHANGES/3273.bugfix
Empty file.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Georges Dubus
Greg Holt
Gregory Haynes
Günther Jena
Gus Goulart
Gustavo Carneiro
Hu Bo
Hugo Herter
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import socket
import sys
from argparse import ArgumentParser
from collections import Iterable
from collections.abc import Iterable
from importlib import import_module

from . import (helpers, web_app, web_exceptions, web_fileresponse,
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/web_app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import asyncio
import logging
import warnings
from collections import MutableMapping
from collections.abc import MutableMapping
from functools import partial
from typing import (TYPE_CHECKING, Any, Awaitable, Callable, List, Mapping,
Optional, Sequence, Tuple, Union)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_web_request.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import socket
from collections import MutableMapping
from collections.abc import MutableMapping
from unittest import mock

import pytest
Expand Down

0 comments on commit e6febc6

Please sign in to comment.