Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib64/python2.7/site-packages/zope/interface/ |
| [Home] [System Details] [Kill Me] |
�
j�/Qc@s.dZdZd�Zdd�Zd�ZdS(s7Compute a resolution order
for an object and its bases
trestructuredtextcCstt|�g�S(s/Compute a "resolution
order" for an object
(tmergeOrderingst_flatten(tobject((s7/usr/lib64/python2.7/site-packages/zope/interface/ro.pytroscCs�|dkri}ng}|j�x[|D]S}t|�}|j�x4|D],}||krOd||<|j|�qOqOWq,W|j�|S(s�Merge
multiple orderings so that within-ordering order is preserved
Orderings are constrained in such a way that if an object appears
in two or more orderings, then the suffix that begins with the
object must be in both orderings.
For example:
>>> mergeOrderings([
... ['x', 'y', 'z'],
... ['q', 'z'],
... [1, 3, 5],
... ['z']
... ])
['x', 'y', 'q', 1, 3, 5, 'z']
iN(tNonetreversetlisttappend(t orderingstseentresulttorderingto((s7/usr/lib64/python2.7/site-packages/zope/interface/ro.pyRs
cCsD|g}d}x.t|�D]
}|d7}|j|||+qW|S(Nii(titert __bases__(tobRti((s7/usr/lib64/python2.7/site-packages/zope/interface/ro.pyR:s
N(t__doc__t
__docformat__RRRR(((s7/usr/lib64/python2.7/site-packages/zope/interface/ro.pyt<module>s "