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/document.pyc
ó
ÔËÞKc@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.

$Id: document.py 110536 2010-04-06 02:59:44Z tseaver $
iÿÿÿÿNicCs2|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}n|j	ƒ}	|	j
ƒ|td||ƒƒ|d7}xd|	D]\\}
}t|dƒs'd|jƒ|jƒp]df}|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	InterfacetnamesAndDescriptionstsortthasattrRtjoin(tItmungetrtoutptleveltbasetbasestbtitemR
tnametdesc((s;/usr/lib/python2.7/dist-packages/zope/interface/document.pytasStructuredTextsD	"


 


#

	#cCsš|jddƒjdƒ}|jdƒg}|rtg|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/lib/python2.7/dist-packages/zope/interface/document.pyRFs/
iHcCs¾d|}|rg}|}|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/lib/python2.7/dist-packages/zope/interface/document.pyRUs





(t__doc__tzope.interfaceRRRR(((s;/usr/lib/python2.7/dist-packages/zope/interface/document.pyt<module>s/	

Youez - 2016 - github.com/yon3zu
LinuXploit