403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/zope/interface/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/zope/interface/ro.pyc
σ
ΤΛήKc@s.dZdZd„Zdd„Zd„ZdS(siCompute a resolution order for an object and its bases

$Id: ro.py 110536 2010-04-06 02:59:44Z tseaver $
trestructuredtextcCstt|ƒgƒS(s/Compute a "resolution order" for an object
    (tmergeOrderingst_flatten(tobject((s5/usr/lib/python2.7/dist-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((s5/usr/lib/python2.7/dist-packages/zope/interface/ro.pyRs	





cCsD|g}d}x.t|ƒD] }|d7}|j|||+qW|S(Nii(titert	__bases__(tobRti((s5/usr/lib/python2.7/dist-packages/zope/interface/ro.pyR<s	
N(t__doc__t
__docformat__RRRR(((s5/usr/lib/python2.7/dist-packages/zope/interface/ro.pyt<module>s	"

Youez - 2016 - github.com/yon3zu
LinuXploit