diff --git a/slixmpp/thirdparty/orderedset.py b/slixmpp/thirdparty/orderedset.py index f6642db3..43023af4 100644 --- a/slixmpp/thirdparty/orderedset.py +++ b/slixmpp/thirdparty/orderedset.py @@ -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 = []