Pythonic style

MRAB python at mrabarnett.plus.com
Thu Apr 28 07:16:17 EDT 2016


On 2016-04-28 06:16, Rustom Mody wrote:
> On Thursday, April 28, 2016 at 9:26:21 AM UTC+5:30, Chris Angelico wrote:
>> My rule of thumb is: Dunders are for defining, not for calling. It's
>> not a hard-and-fast rule, but it'll get you through 99%+ of
>> situations.
>
> Neat and clever.
> Should get in the docs somewhere
>
Is it worthy of being in the Zen of Python?




More information about the Python-list mailing list