Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/zope/interface/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/zope/interface/document.pyc
�
�/Qc@s:dZddlZdd�Zd�Zddd�ZdS(s� Pretty-Print an Interface object as structured text (Yum)

This module provides a function, asStructuredText, for rendering an
interface as structured text.
i����NicCs.|j�g}|j}d}|j�rL|tt|j��|��ng|jD]}|tjjk	rV|^qV}|r�|td||��|d7}x:|D]2}d|j�}|tt|�||��q�W|d8}nt	|j
��}	|td||��|d7}xd|	D]\\}
}t|d�s#d|j�|j�pYdf}|tt|�||��q#q#W|d8}|td||��|d7}xm|	D]e\}
}t|d�r�d	|j�|j�|j�p�df}|tt|�||��q�q�Wd
j
|�d
S(sj Output structured text format.  Note, this will whack any existing
    'structured' format of the text.  isThis interface extends:so %ssAttributes:tgetSignatureStrings%s -- %ssno documentationsMethods:s
%s%s -- %ss

(tgetNametappendtgetDoct_justify_and_indentt_trim_doc_stringt	__bases__tzopet	interfacet	InterfacetsortedtnamesAndDescriptionsthasattrRtjoin(tItmungetrtoutptleveltbasetbasestbtitemRtnametdesc((s=/usr/lib64/python2.7/site-packages/zope/interface/document.pytasStructuredTextsB	"


 

#

	#cCs�|jdd�jd�}|jd�g}|r�tg|D]"}t|�t|j��^q=�}x"|D]}|j||�qoWndj|�S(sJ Trims a doc string to make it format
    correctly with structured text. s
s
i(treplacetsplittpoptmintlentlstripRR
(ttexttlinestnlinestlinet
min_indent((s=/usr/lib64/python2.7/site-packages/zope/interface/document.pyRCs/
iHcCs�d|}|r�g}|}|j�}xX|D]C}dj||g�}t|�|kr/|j|�|}q/q/W|j|�dj|�S||j�jdd�jdd|�SdS(s9 indent and justify text, rejustify (munge) if specified t s
s
N(RR
RRtstripR(R RRtwidthtindentR!R#tword((s=/usr/lib64/python2.7/site-packages/zope/interface/document.pyRRs





(t__doc__tzope.interfaceRRRR(((s=/usr/lib64/python2.7/site-packages/zope/interface/document.pyt<module>s.	

Spamworldpro Mini