관리-도구
편집 파일: pprint.cpython-33.pyc
� ��f�1 c @ s) d Z d d l Z d d l m Z d d l m Z d d d d d d g Z d j Z e Z e Z e Z d d d d d d � Z d d d d d � Z d d � Z d d � Z d d � Z Gd d � d � Z d d � Z Gd d � d � Z d d � Z d d � Z d d d � Z e d k r%e � n d S( u/ 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( u OrderedDict( u StringIOu pprintu pformatu isreadableu isrecursiveu saferepru PrettyPrinteru , i iP c C s2 t d | d | d | d | � } | j | � d S( uA Pretty-print a Python object to a stream [default is sys.stdout].u streamu indentu widthu depthN( u PrettyPrinteru pprint( u objectu streamu indentu widthu depthu printer( ( u+ /opt/alt/python33/lib64/python3.3/pprint.pyu pprint3 s c C s"