Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | IndexDict --+ | TupleDict --+ | ConstraintTupleDict
A dictionary class that uses tuple as its key. For the key used in ConstraintTupleDict, the trailing zeros in the tuple are useless. For two equivalent keys. The first element of the tuple must be equal to each other. And the order from second element to the last none-zero element does not matter as long as all of the elements are the same. For instance, (1, 2, 3, 4, 0, 0), (1, 3, 2, 4, 0, 0) and (1, 4, 3, 2, 0, 0) are the same. However, (1, 2, 3, 4, 0, 0) is not the same as (2, 2, 3, 4, 0, 0)
|
|||
new empty dictionary |
|
||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Reorder the key and return it as a tuple If first lement is greater than last element, the key will be reversed.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:30 2015 | http://epydoc.sourceforge.net |