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