Trees | Index | Help |
|
---|
Package zope :: Package interface :: Module ro |
|
Compute a resolution order for an object and it's bases
$Id: ro.py,v 1.2 2005/06/24 16:52:37 nyergler Exp $Function Summary | |
---|---|
_flatten(ob,
result)
| |
Merge multiple orderings so that within-ordering order is preserved | |
Compute a "resolution order" for an object |
Function Details |
---|
mergeOrderings(orderings, seen=None)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'] |
ro(object)Compute a "resolution order" for an object |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:20 2005 | http://epydoc.sf.net |