config root man

Current Path : /usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/pprint.pyc

³ò
h”Rc@sädZddkZddklZdddddd	gZd
iZe	Z
eZe
Zddddd
„Zdddd„Zd„Zd„Zd„Zd	dd„ƒYZd„Zd„Zdd„ZedjoeƒndS(s/Support to pretty-print lists, tuples, & dictionaries recursively.

Very simple, but useful, especially in debugging data structures.

Classes
-------

PrettyPrinter()
    Handle pretty-printing operations onto a stream using a configured
    set of formatting parameters.

Functions
---------

pformat()
    Format a Python object into a pretty-printed representation.

pprint()
    Pretty-print a Python object to a stream [default is sys.stdout].

saferepr()
    Generate a 'standard' repr()-like value, but protect against recursive
    data structures.

iÿÿÿÿN(tStringIOtpprinttpformatt
isreadabletisrecursivetsafereprt
PrettyPrinters, iiPc	Cs2td|d|d|d|ƒ}|i|ƒdS(sAPretty-print a Python object to a stream [default is sys.stdout].tstreamtindenttwidthtdepthN(RR(tobjectRRR	R
tprinter((s"/usr/local/lib/python2.5/pprint.pyR3scCs"td|d|d|ƒi|ƒS(s<Format a Python object into a pretty-printed representation.RR	R
(RR(RRR	R
((s"/usr/local/lib/python2.5/pprint.pyR9scCst|hddƒdS(s=Version of repr() which can handle recursive data structures.iN(t
_safe_reprtNone(R((s"/usr/local/lib/python2.5/pprint.pyR=scCst|hddƒdS(s4Determine if saferepr(object) is readable by eval().iiN(R
R(R((s"/usr/local/lib/python2.5/pprint.pyRAscCst|hddƒdS(s8Determine if object requires a recursive representation.iiN(R
R(R((s"/usr/local/lib/python2.5/pprint.pyREscBs\eZddd
d
d„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
RS(iiPcCs©t|ƒ}t|ƒ}|djp
td‚|djp|djp
td‚|p
td‚||_||_||_|dj	o
||_n
ti|_dS(sòHandle pretty printing operations onto a stream using a set of
        configured parameters.

        indent
            Number of spaces to indent for each level of nesting.

        width
            Attempted maximum number of columns in the output.

        depth
            The maximum depth to print out nested structures.

        stream
            The desired output stream.  If omitted (or false), the standard
            output stream available at construction will be used.

        isindent must be >= 0sdepth must be > 0swidth must be != 0N(	tinttAssertionErrorRt_deptht_indent_per_levelt_widtht_streamt_syststdout(tselfRR	R
R((s"/usr/local/lib/python2.5/pprint.pyt__init__Js$			

cCs3|i||iddhdƒ|iidƒdS(Nis
(t_formatRtwrite(RR((s"/usr/local/lib/python2.5/pprint.pyRiscCs/tƒ}|i||ddhdƒ|iƒS(Ni(t	_StringIORtgetvalue(RRtsio((s"/usr/local/lib/python2.5/pprint.pyRms	cCs|i|hddƒdS(Nii(tformat(RR((s"/usr/local/lib/python2.5/pprint.pyRrscCs-|i|hddƒ\}}}|o|S(Ni(R(RRtstreadablet	recursive((s"/usr/local/lib/python2.5/pprint.pyRus!cCs
|d}t|ƒ}||jo-|it|ƒƒt|_t|_dSn|i|||dƒ}t|ƒ}	t	|ƒ|i
d||j}
|i}|
oYt|	ddƒ}t
|	tƒo›|tijo‹|dƒ|idjo||iddƒnt	|ƒ}
|
o3d||<||i}|iƒ}|iƒ|d\}}|i|||ƒ}||ƒ|dƒ|i|||t	|ƒd|d||ƒ|
djozxw|dD]g\}}|i|||ƒ}|dd||fƒ|i|||t	|ƒd|d||ƒqÊWn||i}||=n|d	ƒdSnt
|	tƒo|tijp t
|	tƒoh|tijoXt
|	tƒo|d
ƒd}n|dƒd
}|idjo||iddƒnt	|ƒ}
|
o«d||<||i}|i|d|||d||ƒ|
djoKxH|dD]8}|dd|ƒ|i||||d||ƒqfWn||i}||=nt
|	tƒo|
djo|dƒn||ƒdSqÿn||ƒdS(Nit__repr__t{t is: is,
%s%s: t}t[t]t(t)s,
t,(t_idRt
_recursiontTruet
_recursivetFalset	_readablet_reprt_typet_lenRtgetattrRt
issubclasstdictR"RtitemstsortRtlistttuple(RRRRt	allowancetcontexttleveltobjidtrepttyptsepLinesRtrtlengthR7tkeytenttendchar((s"/usr/local/lib/python2.5/pprint.pyRysˆ

		!	 








  








cCsV|i||iƒ|i|ƒ\}}}|p
t|_n|o
t|_n|S(N(RtcopyRR/R0R-R.(RRR<R=treprR R!((s"/usr/local/lib/python2.5/pprint.pyR1Ás

cCst||||ƒS(sÈFormat object for a specific context, returning a string
        and flags indicating whether the representation is 'readable'
        and whether the object represents a recursive construct.
        (R
(RRR<t	maxlevelsR=((s"/usr/local/lib/python2.5/pprint.pyRÊsN(t__name__t
__module__RRRRRRRR1R(((s"/usr/local/lib/python2.5/pprint.pyRIs					H		c 
Cst|ƒ}|tjoúdtijot|ƒttfSnd|jo&d|jod}hdd<}nd}hdd<}|i}tƒ}|i	}	xI|D]A}
|
i
ƒo|	|
ƒqª|	||
t|
ƒdd!ƒƒqªWd||iƒ|fttfSnt|d	dƒ}t|tƒoy|tijoi|pd
ttfSnt|ƒ}|o$||jodt||jfSn||jot|ƒttfSnd||<t}
t}g}|i}|d7}t}xœt|iƒƒD]ˆ\}}|||||ƒ\}}}|||||ƒ\}}}|d||fƒ|
o|o|}
|p|o
t}qqW||=d
t|ƒ|
|fSnt|tƒo|tijp t|tƒoˆ|tijoxt|tƒo"|pdttfSnd}n<t|ƒdjo
d}n|pdttfSnd}t|ƒ}|o(||jo|dt||jfSn||jot|ƒttfSnd||<t}
t}g}|i}|d7}xX|D]P}t||||ƒ\}}}||ƒ|p
t}
n|o
t}qðqðW||=|t|ƒ|
|fSnt|ƒ}||o|idƒtfS(Ntlocalet't"s\"s\'iiÿÿÿÿs%s%s%sR"s{}s{...}s%s: %ss{%s}s[]s[%s]s(%s,)s()s(%s)s...t<(R2tstrRtmodulesRHR-R/tgetRRtisalphaRR4RR5R6R"R+R,tappendR
tsortedR7t
_commajoinR9R:R3t
startswith( RR<RIR=R@tclosuretquotestqgetRRtcharRBR>R R!t
componentsRTRtktvtkreprt	kreadabletkrecurtvreprt	vreadabletvrecurRtotoreprt	oreadabletorecurR?((s"/usr/local/lib/python2.5/pprint.pyR
Ôsœ
			
$$ 

	
  



	


cCsdt|ƒit|ƒfS(Ns<Recursion on %s with id=%s>(R2RJR+(R((s"/usr/local/lib/python2.5/pprint.pyR,(scCs¹ddk}|djo5ddddghdd<d	d
<fgd}ntƒ}|iƒ}t|hddƒ|iƒ}|i|ƒ|iƒ}d
G||GHdG||GHdS(Niÿÿÿÿtstringiiiiiiiii †is_safe_repr:spformat:(ii(ttimeRRR
R(RRjtptt1tt2tt3((s"/usr/local/lib/python2.5/pprint.pyt
_perfcheck-s
5	

t__main__((t__doc__tsysRt	cStringIORRt__all__tjoinRVtidR+tlenR3ttypeR2RRRRRRRR
R,RoRJ(((s"/usr/local/lib/python2.5/pprint.pys<module>#s&					‹	T	



Man Man