From 69b97a18fed36913a869288a5ed8a040a54501e4 Mon Sep 17 00:00:00 2001 From: Ahmad Afnan Amjad Date: Sat, 5 Mar 2022 17:09:12 +0500 Subject: [PATCH] Fix for Python 3.10 --- generic_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic_utils.py b/generic_utils.py index 7977681f5..a99c04565 100644 --- a/generic_utils.py +++ b/generic_utils.py @@ -79,7 +79,7 @@ def memoizer(*args, **kwargs): # ################################################################ -class OrderedSet(collections.MutableSet): +class OrderedSet(collections.abc.MutableSet): """ A set implementations that retains insertion order. From the receipe http://code.activestate.com/recipes/576694/