Skip to main content

pprint

A wrapper around pprint.pprint -- for debugging, really.

def pprint(
value: any
) - > string

A wrapper around pprint.pprint -- for debugging, really.

Parameters

NameTypeDescription
valueanyThe Python object or value to be formatted for debugging purposes.

Returns

TypeDescription
stringThe formatted string representation of the object, or an error message if formatting fails.