ports/devel/py-attrdict/files/patch-attrdict_merge.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
227 B
Python

--- attrdict/merge.py.orig 2019-02-01 22:18:30 UTC
+++ attrdict/merge.py
@@ -1,7 +1,7 @@
"""
A right-favoring Mapping merge.
"""
-from collections import Mapping
+from collections.abc import Mapping
__all__ = ['merge']