Skip to content

Commit c641ba6

Browse files
authored
Update path.py
Fix for later versions of Python with "ImportError: cannot import name 'MutableSequence' from 'collections'' error.
1 parent 59e88ab commit c641ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

svgpath/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import division
22
from math import sqrt, cos, sin, acos, degrees, radians, log
3-
from collections import MutableSequence
3+
from collections.abc import MutableSequence
44

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

0 commit comments

Comments
 (0)