ports/devel/py-attrdict/files/patch-attrdict_default.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

11 lines
246 B
Python

--- attrdict/default.py.orig 2019-02-01 22:18:30 UTC
+++ attrdict/default.py
@@ -1,7 +1,7 @@
"""
A subclass of MutableAttr that has defaultdict support.
"""
-from collections import Mapping
+from collections.abc import Mapping
import six