Fix deprecation warning
This commit is contained in:
parent
17a663b0fd
commit
8b7648502b
4
slixmpp/thirdparty/orderedset.py
vendored
4
slixmpp/thirdparty/orderedset.py
vendored
@ -20,9 +20,9 @@
|
|||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
# OTHER DEALINGS IN THE SOFTWARE.
|
# OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
import collections
|
from collections.abc import MutableSet
|
||||||
|
|
||||||
class OrderedSet(collections.MutableSet):
|
class OrderedSet(MutableSet):
|
||||||
|
|
||||||
def __init__(self, iterable=None):
|
def __init__(self, iterable=None):
|
||||||
self.end = end = []
|
self.end = end = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user