|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/proc/self/root/usr/lib/python2.4/ |
Upload File : |
mò
Ï=Ec @ sÞ d Z d k Z d k l Z d d d d d d g Z d i Z e Z
e Z e
Z d d
d d d „ Z d
d d d
„ Z d „ Z d „ Z d „ Z d f d „ ƒ YZ d „ Z d „ Z d d „ Z e d j o e ƒ n d S( 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.
N( s StringIOt pprintt pformatt
isreadablet isrecursivet safereprt
PrettyPrinters , i iP c C s2 t d | d | d | d | ƒ } | i | ƒ d S( sA Pretty-print a Python object to a stream [default is sys.stdout].t streamt indentt widtht depthN( R R R R R t printerR t object( R R R R R R
( ( t /usr/lib/python2.4/pprint.pyR 3 s !c C s"