diff --git a/svgpath/path.py b/svgpath/path.py index 51d4b6a..6e1448d 100644 --- a/svgpath/path.py +++ b/svgpath/path.py @@ -1,6 +1,9 @@ from __future__ import division from math import sqrt, cos, sin, acos, degrees, radians, log -from collections import MutableSequence +try: + from collections.abc import MutableSequence +except ImportError: + from collections import MutableSequence # This file contains classes for the different types of SVG path segments as # well as a Path object that contains a sequence of path segments.