Skip to content

Commit

Permalink
added import exception for collections.abc/collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Stedman committed Dec 7, 2021
1 parent c641ba6 commit ad60cd3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion svgpath/path.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from __future__ import division
from math import sqrt, cos, sin, acos, degrees, radians, log
from collections.abc 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.
Expand Down

0 comments on commit ad60cd3

Please sign in to comment.