Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107779

Re: Pythonic style

From MRAB <python@mrabarnett.plus.com>
Newsgroups comp.lang.python
Subject Re: Pythonic style
Date 2016-04-28 12:16 +0100
Message-ID <mailman.183.1461842191.32212.python-list@python.org> (permalink)
References (5 earlier) <572188F8.7010304@stoneleaf.us> <CAPTjJmrkELf4rb+1UgmPwHxmd+wzp6WLxxN+ut4L3xJuHhmqmA@mail.gmail.com> <mailman.168.1461815768.32212.python-list@python.org> <c7ca7770-7dfa-463c-b776-cab472d9f79e@googlegroups.com> <540fc958-52d6-6049-75f2-5ee42657688e@mrabarnett.plus.com>

Show all headers | View raw


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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-28 13:56 +1000
  Re: Pythonic style Rustom Mody <rustompmody@gmail.com> - 2016-04-27 22:16 -0700
    Re: Pythonic style MRAB <python@mrabarnett.plus.com> - 2016-04-28 12:16 +0100
      Dunder docs again (was Pythonic style) Rustom Mody <rustompmody@gmail.com> - 2016-04-28 04:45 -0700
        Re: Dunder docs again (was Pythonic style) MRAB <python@mrabarnett.plus.com> - 2016-04-28 13:02 +0100
          Re: Dunder docs again (was Pythonic style) Marko Rauhamaa <marko@pacujo.net> - 2016-04-28 15:25 +0300
            Re: Dunder docs again (was Pythonic style) MRAB <python@mrabarnett.plus.com> - 2016-04-28 14:22 +0100
      Re: Pythonic style Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-04-29 12:48 +1200
        Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-29 10:57 +1000
          Re: Pythonic style Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2016-04-29 18:12 +1200
            Re: Pythonic style Chris Angelico <rosuav@gmail.com> - 2016-04-29 16:45 +1000
        Re: Pythonic style Steven D'Aprano <steve@pearwood.info> - 2016-04-29 19:59 +1000
    Re: Pythonic style Random832 <random832@fastmail.com> - 2016-04-28 09:31 -0400

csiph-web