pymel.util.enum.OrderedDict

digraph inheritance95bb348b1f { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "OrderedDict" [shape=box,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=8,style="setlinewidth(0.5)",height=0.25]; }

class OrderedDict(*args, **kwds)

Dictionary that remembers insertion order

__delitem__(key, dict_delitem=<slot wrapper '__delitem__' of 'dict' objects>)

od.__delitem__(y) <==> del od[y]

__eq__(other)

od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive while comparison to a regular mapping is order-insensitive.

__iter__() <==> iter(od)
__ne__(other)

od.__ne__(y) <==> od!=y

__reduce__()

Return state information for pickling

__repr__() <==> repr(od)
__reversed__() <==> reversed(od)
__setitem__(key, value, dict_setitem=<slot wrapper '__setitem__' of 'dict' objects>)

od.__setitem__(i, y) <==> od[i]=y

clear() → None. Remove all items from od.
copy() → a shallow copy of od
classmethod fromkeys(S[, v]) → New ordered dictionary with keys from S.

If not specified, the value defaults to None.

items() → list of (key, value) pairs in od
iteritems()

od.iteritems -> an iterator over the (key, value) pairs in od

iterkeys() → an iterator over the keys in od
itervalues()

od.itervalues -> an iterator over the values in od

keys() → list of keys in od
pop(k[, d]) → v, remove specified key and return the corresponding

value. If key is not found, d is returned if given, otherwise KeyError is raised.

popitem() → (k, v), return and remove a (key, value) pair.

Pairs are returned in LIFO order if last is true or FIFO order if false.

setdefault(k[, d]) → od.get(k,d), also set od[k]=d if k not in od
update([E, ]**F) → None. Update D from mapping/iterable E and F.

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

values() → list of values in od
viewitems() → a set-like object providing a view on od's items
viewkeys() → a set-like object providing a view on od's keys
viewvalues() → an object providing a view on od's values