pharmpy.data_structures module

class pharmpy.data_structures.OrderedSet(iterable=None)[source]

Bases: collections.abc.MutableSet

add(key)[source]

Add an element.

discard(key)[source]

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

pop(last=True)[source]

Return the popped value. Raise KeyError if empty.

update(iterable)[source]

Inheritance Diagram

Inheritance diagram of pharmpy.data_structures