Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | _offsets
Implements the segmentlist offset book-keeping in the segmentlistdict class. Not intended for use outside of the segmentlistdict class.
|
|||
|
|||
new empty dictionary |
|
||
|
|||
|
|||
None |
|
||
New dict with keys from S and values equal to v |
|
||
v, remove specified key and return the corresponding value |
|
||
(k, v), remove and return some (key, value) pair as a |
|
||
None |
|
||
Inherited from Inherited from |
|
|||
a new object with type S, a subtype of T |
|
|
|||
Inherited from |
|
|||
Inherited from |
|
del x[y]
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
helper for pickle
|
Set an offset. If the new offset is identical to the current offset this is a no-op, otherwise the corresponding segmentlist object is shifted.
|
Remove the offsets from all segmentlists.
|
v defaults to None.
|
If key is not found, d is returned if given, otherwise KeyError is raised
|
2-tuple; but raise KeyError if D is empty.
|
From a dictionary of offsets, apply each offset to the corresponding segmentlist. NOTE: it is acceptable for the offset dictionary to contain entries for which there is no matching segmentlist; no error will be raised, but the offset will be ignored. This simplifies the case of updating several segmentlistdict objects from a common offset dictionary, when one or more of the segmentlistdicts contains only a subset of the keys.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 00:34:20 2017 | http://epydoc.sourceforge.net |