any plans to make pprint() a builtin?

Edward Elliott nobody at
Wed May 17 03:47:02 CEST 2006

Ant wrote:

> Longer, messy, and what's the actual point? Wouldn't:
> import pprint as pp
> pp.pprint(x)
> be better, standard *and* shorter?

why not just:

from pprint import pprint
pprint (x)

No need to modify the interpreter when you can pollute the global namespace
yourself just as easily.

Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net

More information about the Python-list mailing list