Python pprint Functions

EditRocket provides the following information on pprint functions in the Python source code builder.

isreadable(object) - Determine if the formatted representation of object is ``readable,'' or can be used to reconstruct the value using eval()

isrecursive(object) - Determine if object requires a recursive representation.

pformat(object[, indent[,width[, depth]]]) - Return the formatted representation of object as a string.

pprint(object[, stream[,indent[, width[, depth]]]]) - Prints the formatted representation of object on stream, followed by a newline.

saferepr(object) - Return a string representation of object, protected against recursive data structures.