(object, indent=1, width=80, depth=None, *,
            compact=False, sort_dicts=True, underscore_numbers=False)
return PrettyPrinter(indent=indent, width=width, depth=depth,
                         compact=compact, sort_dicts=sort_dicts,
                         underscore_numbers=underscore_numbers).pformat(object)
Format a Python object into a pretty-printed representation.
Format a Python object into a pretty-printed representation.
Format a Python object into a pretty - printed representation .
def pformat(object, indent=1, width=80, depth=None, *,
            compact=False, sort_dicts=True, underscore_numbers=False):
    """Format a Python object into a pretty-printed representation."""
    return PrettyPrinter(indent=indent, width=width, depth=depth,
                         compact=compact, sort_dicts=sort_dicts,
                         underscore_numbers=underscore_numbers).pformat(object)
def pformat ( object , indent = 1 , width = 80 , depth = None , * , compact = False , sort_dicts = True , underscore_numbers = False ) : return PrettyPrinter ( indent = indent , width = width , depth = depth , compact = compact , sort_dicts = sort_dicts , underscore_numbers = underscore_numbers ) . pformat ( object )