From ec64bff92d3794d4421edef5336d3312ae4d6776 Mon Sep 17 00:00:00 2001 From: Levi Starrett Date: Thu, 25 May 2023 09:26:53 -0400 Subject: [PATCH] Explicitly import 'collections.abc' for python 3 --- xtuml/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtuml/tools.py b/xtuml/tools.py index 285c0b9..49ba78c 100644 --- a/xtuml/tools.py +++ b/xtuml/tools.py @@ -17,12 +17,13 @@ # License along with pyxtuml. If not, see . import uuid -import collections try: # Python 3.x + import collections.abc collectionsAbc = collections.abc except: # Python 2.7 + import collections collectionsAbc = collections