Gavin D'souza <gavin...@gmail.com> added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to