Message91776
Sorry: you also need to print out the args! :) .. like this:
def pprint(object='\n', *args, stream=None, indent=1, width=80, depth=None):
"""Pretty-print a Python object to a stream [default is sys.stdout]."""
printer = PrettyPrinter(
stream=stream, indent=indent, width=width, depth=depth)
printer.pprint(object)
for arg in args:
printer.pprint(arg) |
|
Date |
User |
Action |
Args |
2009-08-20 14:26:46 | marystern | set | recipients:
+ marystern |
2009-08-20 14:26:46 | marystern | set | messageid: <1250778406.16.0.860330712338.issue6743@psf.upfronthosting.co.za> |
2009-08-20 14:26:45 | marystern | link | issue6743 messages |
2009-08-20 14:26:44 | marystern | create | |
|