| 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/twisted/python/ |
Upload File : |
Mc @ s d Z d d l Z d d l Z d d l m Z m Z d d Z d Z d Z e j e j
d d d
d d e d
d Z d d Z
e
Z d Z d Z d Z e d Z d S( s'
Miscellany of text-munging functions.
iN( t deprecatet versionst c C s d } g } t | t j k r d } xL| j D] \ } } t | | d } t | r t | r | t d } n | j d | | | f q4 | j d | | | t | d f q4 Wn t | t j t j
f k rNt | t j k rd } n d } xf | D]3 } t | | d
} | j t j | d qWn( t
| d t j t | d | (| s| j | n | r| | d
| d
t | d | d
<| d | d | d <n t j | d } t | rt | r| d } n | S( s`
Expansive string formatting for sequence types.
list.__str__ and dict.__str__ use repr() to display their
elements. This function also turns these sequence types
into strings, but uses str() on their elements instead.
Sequence elements are also displayed on seperate lines,
and nested sequences have nested indentation.
R s {}s s
s %s %s:
%ss %s %s: %si s ()s []t t ,c S s | | S( N( ( t st i( ( s7 /usr/lib/python2.7/dist-packages/twisted/python/text.pyt <lambda>5 s i i i( t typet typest DictTypet itemst
stringyStringt isMultilinet
endsInNewlinet lent appendt TupleTypet ListTypet stringt rstript mapt splitt strt join( t objectt indentationt bracest slt keyt valuet elementR ( ( s7 /usr/lib/python2.7/dist-packages/twisted/python/text.pyR s<