Skip to content

Commit 40014fe

Browse files
authored
Merge pull request #31 from MattStedman/master
Update path.py
2 parents 59e88ab + ad60cd3 commit 40014fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

svgpath/path.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from __future__ import division
22
from math import sqrt, cos, sin, acos, degrees, radians, log
3-
from collections import MutableSequence
3+
try:
4+
from collections.abc import MutableSequence
5+
except ImportError:
6+
from collections import MutableSequence
47

58
# This file contains classes for the different types of SVG path segments as
69
# well as a Path object that contains a sequence of path segments.

0 commit comments

Comments
 (0)