This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author marystern
Recipients marystern
Date 2009-08-20.14:26:44
SpamBayes Score 1.7872459e-06
Marked as misclassified No
Message-id <1250778406.16.0.860330712338.issue6743@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2009-08-20 14:26:46marysternsetrecipients: + marystern
2009-08-20 14:26:46marysternsetmessageid: <1250778406.16.0.860330712338.issue6743@psf.upfronthosting.co.za>
2009-08-20 14:26:45marysternlinkissue6743 messages
2009-08-20 14:26:44marysterncreate