Skip to content

Commit

Permalink
Fix: DeprecationWarning in Python3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseKilo committed Sep 27, 2018
1 parent 9ff53bf commit bcd043a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion aiozmq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import weakref
import zmq

from collections import deque, Iterable, namedtuple
from collections import deque, namedtuple
from collections.abc import Iterable

from .interface import ZmqTransport, ZmqProtocol
from .log import logger
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/rpc/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import asyncio
from collections import Iterable
from collections.abc import Iterable
from functools import partial

import zmq
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/selector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""ZMQ pooler for asyncio."""
import math
from collections import Mapping
from collections.abc import Mapping
from errno import EINTR

from zmq import (ZMQError, POLLIN, POLLOUT, POLLERR,
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Set
from collections.abc import Set


class _EndpointsSet(Set):
Expand Down

0 comments on commit bcd043a

Please sign in to comment.