about summary refs log tree commit diff
path: root/pkgs/development/python-modules/selectors2/mapping-import.patch
blob: 64f74a5ce29bf269e8bd58652604936a75ede51e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/selectors2.py b/selectors2.py
index 1625a30..c4a1231 100644
--- a/selectors2.py
+++ b/selectors2.py
@@ -22,7 +22,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-from collections import namedtuple, Mapping
+from collections import namedtuple
+from collections.abc import Mapping
 import errno
 import math
 import platform