PrettyPrinter instances (returned by PrettyPrinter()
above)
have the following methods.
The following methods provide the implementations for the corresponding functions of the same names. Using these methods on an instance is slightly more efficient since new PrettyPrinter objects don't need to be created.
eval()
. Note that this returns false for recursive objects.
If the depth parameter of the PrettyPrinter is set and the
object is deeper than allowed, this returns false.