Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib64/python2.7/ |
Upload File : |
� m��fc @ s d Z d d l Z d d l Z y d d l m Z Wn! e k rU d d l m Z n Xd d d d d d g Z d j 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 � Z d d d � � YZ d � Z d � Z d d � Z e d k re � 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. i����N( t StringIOt pprintt pformatt isreadablet isrecursivet safereprt PrettyPrinters , i iP c C s2 t d | d | d | d | � } | j | � d S( sA Pretty-print a Python object to a stream [default is sys.stdout].t streamt indentt widtht depthN( R R ( t objectR R R R t printer( ( s /usr/lib64/python2.7/pprint.pyR 7 s c C s"