| 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 : |
ó
ÔËÞKc @ s: d Z d d l Z d d „ Z d „ Z d d d „ Z d S( sÖ Pretty-Print an Interface object as structured text (Yum)
This module provides a function, asStructuredText, for rendering an
interface as structured text.
$Id: document.py 110536 2010-04-06 02:59:44Z tseaver $
iÿÿÿÿNi c C s2 | j ƒ g } | j } d } | j ƒ rL | t t | j ƒ ƒ | ƒ ƒ n g | j D] } | t j j k rV | ^ qV } | rê | t d | | ƒ ƒ | d 7} x: | D]2 } d | j ƒ } | t t | ƒ | | ƒ ƒ q§ W| d 8} n | j ƒ } | j
ƒ | t d | | ƒ ƒ | d 7} xd | D]\ \ }
} t | d ƒ s'd | j ƒ | j ƒ p]d f } | t t | ƒ | | ƒ ƒ q'q'W| d 8} | t d | | ƒ ƒ | d 7} xm | D]e \ }
} t | d ƒ r¸d | j ƒ | j ƒ | j ƒ p÷d f } | t t | ƒ | | ƒ ƒ q¸q¸Wd
j
| ƒ d
S( sj Output structured text format. Note, this will whack any existing
'structured' format of the text. i s This interface extends:s o %ss Attributes:t getSignatureStrings %s -- %ss no documentations Methods:s
%s%s -- %ss
( t getNamet appendt getDoct _justify_and_indentt _trim_doc_stringt __bases__t zopet interfacet Interfacet namesAndDescriptionst sortt hasattrR t join( t It munget rt outpt levelt baset basest bt itemR
t namet desc( ( s; /usr/lib/python2.7/dist-packages/zope/interface/document.pyt asStructuredText sD "
#
#c C sš | j d d ƒ j d ƒ } | j d ƒ g } | r t g | D]"