pprint.pformat(object, indent=1, width=80, depth=None, *, compact=False)
Return the formatted representation of object as a string. indent, width, depth and compact will be passed to the PrettyPrinter
constructor as formatting parameters.
Changed in version 3.4: Added the compact parameter.
Please login to continue.