Fixed MutableSequence import (importing from collections is deprecated) (#100)

pull/114/head
Antoine Beyeler 2020-06-20 03:52:09 +02:00 committed by GitHub
parent 2eb8fb62ed
commit b767536e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,10 @@ Arc."""
from __future__ import division, absolute_import, print_function
from math import sqrt, cos, sin, acos, asin, degrees, radians, log, pi, ceil
from cmath import exp, sqrt as csqrt, phase
from collections import MutableSequence
try:
from collections.abc import MutableSequence # noqa
except ImportError:
from collections import MutableSequence # noqa
from warnings import warn
from operator import itemgetter
import numpy as np