any plans to make pprint() a builtin?
johnjsal at NOSPAMgmail.com
Sun May 14 20:36:16 CEST 2006
Kent Johnson wrote:
> Duncan Booth wrote:
>> Personally I'd just like to see 'python' a builtin shorthand for importing
>> a name you aren't going to use much
> Would you settle for
> import py
> py.std.pprint.pprint(x) ?
Interesting, but that could start to get a little too messy I think. I'd
rather just have the 'authentic' code in my program (i.e. pprint.pprint)
instead of the py.std prefix as well.
It's a good point not to pollute the builtin namespace with too much, so
I think I'd rather just import pprint when needed instead of using the
More information about the Python-list