ws.utils.OrderedSet module

class ws.utils.OrderedSet.OrderedSet

Bases: collections.OrderedDict, collections.abc.MutableSet

An ordered set class from this recipe: https://stackoverflow.com/a/1653978/4180822

update([E, ]**F)None.  Update D from dict/iterable E and F.

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

add(elem)

Add an element.

discard(elem)

Remove an element. Do not raise an exception if absent.

property difference
property difference_update
property intersection
property intersection_update
property issubset
property issuperset
property symmetric_difference
property symmetric_difference_update
property union