class documentation

class OrderedSet(list):

View In Hierarchy

Simple implementation of an ordered set.

Items are ordered in the set by their order of adding them to the set. Uniqueness is assurd.

Method add Add an item to the set.
def add(self, obj: Any): ΒΆ

Add an item to the set.

Only unique items are added.

Parameters
obj:AnyObject to add.