freebsd-ports/devel/py-attrdict/files/patch-attrdict_mapping.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
224 B
Python

--- attrdict/mapping.py.orig 2022-12-06 06:58:43 UTC
+++ attrdict/mapping.py
@@ -1,7 +1,7 @@
"""
An implementation of MutableAttr.
"""
-from collections import Mapping
+from collections.abc import Mapping
import six