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 gavin
Recipients fdrake, gavin
Date 2019-04-23.12:54:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556024092.92.0.855536853534.issue36705@roundup.psfhosted.org>
In-reply-to
Content
if pprint is called without parameters, it returns a TypeError

>>> pprint()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: pprint() missing 1 required positional argument: 'object'

it would be beneficial however to return an empty string or a new line character instead. An erroneous call would generate an unnecessary run-time error in a huge script
History
Date User Action Args
2019-04-23 12:54:52gavinsetrecipients: + gavin, fdrake
2019-04-23 12:54:52gavinsetmessageid: <1556024092.92.0.855536853534.issue36705@roundup.psfhosted.org>
2019-04-23 12:54:52gavinlinkissue36705 messages
2019-04-23 12:54:52gavincreate