Skip to content

Commit

Permalink
Remove python 2 workaround
Browse files Browse the repository at this point in the history
This is causing issues in python 3.10
  • Loading branch information
nallath committed Feb 10, 2022
1 parent 178a973 commit 72270c0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions UM/SortedList.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@

from typing import Any, Callable

from collections.abc import Sequence, MutableSequence

# BEGIN Python 2/3 Shims

try:
from collections.abc import Sequence, MutableSequence
except ImportError:
from collections import Sequence, MutableSequence

from functools import wraps
from sys import hexversion
Expand Down

0 comments on commit 72270c0

Please sign in to comment.