ports/devel/py-attrdict/files/patch-attrdict_mixins.py
Loïc Bartoletti 0a62917da8 devel/py-attrdict: fix build for python >= 3.10
Replace `from collections import` by `from collections.abc import`
2022-12-13 13:53:47 +01:00

12 lines
317 B
Python

--- attrdict/mixins.py.orig 2019-02-01 22:18:30 UTC
+++ attrdict/mixins.py
@@ -2,7 +2,7 @@
Mixin Classes for Attr-support.
"""
from abc import ABCMeta, abstractmethod
-from collections import Mapping, MutableMapping, Sequence
+from collections.abc import Mapping, MutableMapping, Sequence
import re
import six