def pformat(<EOL>object,<EOL>indent=_UNSET_SENTINEL,<EOL>width=_UNSET_SENTINEL,<EOL>depth=_UNSET_SENTINEL,<EOL>*,<EOL>ribbon_width=_UNSET_SENTINEL,<EOL>max_seq_len=_UNSET_SENTINEL,<EOL>compact=_UNSET_SENTINEL,<EOL>sort_dict_keys=_UNSET_SENTINEL<EOL>):
sdocs = python_to_sdocs(<EOL>object,<EOL>**_merge_defaults(<EOL>indent=indent,<EOL>width=width,<EOL>depth=depth,<EOL>ribbon_width=ribbon_width,<EOL>max_seq_len=max_seq_len,<EOL>sort_dict_keys=sort_dict_keys,<EOL>)<EOL>)<EOL>stream = StringIO()<EOL>default_render_to_stream(stream, sdocs)<EOL>return stream.getvalue()<EOL>
Returns a pretty printed representation of the object as a ``str``.
Accepts the same parameters as :func:`~prettyprinter.pprint`.
The output is not colored.