def pip._vendor.distlib.compat.OrderedDict.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwds |
|
) |
| |
Initialize an ordered dictionary. Signature is the same as for
regular dictionaries, but keyword arguments are not recommended
because their insertion order is arbitrary.
def pip._vendor.distlib.compat.OrderedDict.__delitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
dict_delitem = dict.__delitem__ |
|
) |
| |
def pip._vendor.distlib.compat.OrderedDict.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
od.__eq__(y) <==> od==y. Comparison to another OD is order-sensitive
while comparison to a regular mapping is order-insensitive.
def pip._vendor.distlib.compat.OrderedDict.__iter__ |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.__ne__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
def pip._vendor.distlib.compat.OrderedDict.__reduce__ |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.__repr__ |
( |
|
self, |
|
|
|
_repr_running = None |
|
) |
| |
def pip._vendor.distlib.compat.OrderedDict.__reversed__ |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value, |
|
|
|
dict_setitem = dict.__setitem__ |
|
) |
| |
def pip._vendor.distlib.compat.OrderedDict.clear |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.copy |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.fromkeys |
( |
|
cls, |
|
|
|
iterable, |
|
|
|
value = None |
|
) |
| |
OD.fromkeys(S[, v]) -> New ordered dictionary with keys from S
and values equal to v (which defaults to None).
def pip._vendor.distlib.compat.OrderedDict.items |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.iteritems |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.iterkeys |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.itervalues |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.keys |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.pop |
( |
|
self, |
|
|
|
key, |
|
|
|
default = __marker |
|
) |
| |
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.
def pip._vendor.distlib.compat.OrderedDict.popitem |
( |
|
self, |
|
|
|
last = True |
|
) |
| |
od.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.
def pip._vendor.distlib.compat.OrderedDict.setdefault |
( |
|
self, |
|
|
|
key, |
|
|
|
default = None |
|
) |
| |
def pip._vendor.distlib.compat.OrderedDict.update |
( |
|
args, |
|
|
|
kwds |
|
) |
| |
od.update(E, **F) -> None. Update od from dict/iterable E and F.
If E is a dict instance, does: for k in E: od[k] = E[k]
If E has a .keys() method, does: for k in E.keys(): od[k] = E[k]
Or if E is an iterable of items, does: for k, v in E: od[k] = v
In either case, this is followed by: for k, v in F.items(): od[k] = v
def pip._vendor.distlib.compat.OrderedDict.values |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.viewitems |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.viewkeys |
( |
|
self | ) |
|
def pip._vendor.distlib.compat.OrderedDict.viewvalues |
( |
|
self | ) |
|
pip._vendor.distlib.compat.OrderedDict.__map |
|
private |
tuple pip._vendor.distlib.compat.OrderedDict.__marker = object() |
|
staticprivate |
pip._vendor.distlib.compat.OrderedDict.__root |
|
private |
pip._vendor.distlib.compat.OrderedDict.__update = update |
|
staticprivate |
The documentation for this class was generated from the following file:
- orbits/lib/python2.7/site-packages/pip/_vendor/distlib/compat.py
Copyright 2014 Google Inc. All rights reserved.