Merge pull request #51 from tomhenderson/fix-collections-import

Fix collections import (needed for Python 3.10)
This commit is contained in:
Gustavo J. A. M. Carneiro authored and GitHub committed 2021-10-05 21:41:06 +01:00
commit 926ee3b86d
1 file changed
+2 -1
+2 -1
View File
@@ -39,7 +39,8 @@ import collections
try:
collectionsCallable = collections.Callable
except AttributeError:
collectionsCallable = collections
import collections.abc
collectionsCallable = collections.abc.Callable
try:
set