Pronouncing '__init__'

Emile van Sebille emile at fenx.com
Sat Jun 15 10:28:14 EDT 2002


Mark McEahern
> But I think saying, for example, the str method, in the context of a
user
> class, is clear enough to indicate __str__.  If you're talking about
len(),
> you probably just say "len."  If you're talking about __len__, you
probably
> say, "the len method of x" or just "the len method."  Or "the magic
len
> method."
>

I agree.  I often think in terms of the instances, so I also use 'it's
[ imul | repr | str] method.  When I need to spell it out though, my
choice wasn't in the list of options:  underscore underscore r-e-p-r [
underscore underscore ]


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list