efed009
From e88a14f86390b22ee55a810d0cd1b68c32c54423 Mon Sep 17 00:00:00 2001
efed009
From: Tomas Hrnciar <thrnciar@redhat.com>
efed009
Date: Wed, 16 Jun 2021 13:29:20 +0200
efed009
Subject: [PATCH] import MutableMapping from collections.abc
efed009
efed009
---
efed009
 dns/namedict.py | 4 ++--
efed009
 1 file changed, 2 insertions(+), 2 deletions(-)
efed009
efed009
diff --git a/dnspython-1.16.0/dns/namedict.py b/dnspython-1.16.0/dns/namedict.py
efed009
index 37a1310..ae8d6a4 100644
efed009
--- a/dns/namedict.py
efed009
+++ b/dns/namedict.py
efed009
@@ -27,12 +27,12 @@
efed009
 
efed009
 """DNS name dictionary"""
efed009
 
efed009
-import collections
efed009
+from collections.abc import MutableMapping
efed009
 import dns.name
efed009
 from ._compat import xrange
efed009
 
efed009
 
efed009
-class NameDict(collections.MutableMapping):
efed009
+class NameDict(MutableMapping):
efed009
     """A dictionary whose keys are dns.name.Name objects.
efed009
 
efed009
     In addition to being like a regular Python dictionary, this
efed009
-- 
efed009
2.31.1
efed009