Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions quamash/_unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

import asyncio
import selectors
import collections
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping

from . import QtCore, with_logger

Expand Down Expand Up @@ -41,7 +44,7 @@ def _fileobj_to_fd(fileobj):
return fd


class _SelectorMapping(collections.Mapping):
class _SelectorMapping(Mapping):

"""Mapping of file objects to selector keys."""

Expand Down