[Python-ideas] namedtuple literals [Was: RE a new namedtuple]
Giampaolo Rodola'
g.rodola at gmail.com
Wed Jul 19 20:28:34 EDT 2017
On Thu, Jul 20, 2017 at 2:14 AM, Giampaolo Rodola' <g.rodola at gmail.com>
wrote
>
> In case of one module scripts it's not uncommon to add a leading
> underscore which makes __repr__ uglier.
>
Actually forget about this: __repr__ is dictated by the first argument. =)
--
Giampaolo - http://grodola.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170720/efda7a09/attachment.html>
More information about the Python-ideas
mailing list