any plans to make pprint() a builtin?
Edward Elliott
nobody at 127.0.0.1
Tue May 16 21:47:02 EDT 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