Fix deprecation warning

This commit is contained in:
Nicolas Cedilnik 2021-02-22 13:07:15 +01:00
parent 17a663b0fd
commit 8b7648502b

View file

@ -20,9 +20,9 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
import collections
from collections.abc import MutableSet
class OrderedSet(collections.MutableSet):
class OrderedSet(MutableSet):
def __init__(self, iterable=None):
self.end = end = []