multiple values for keyword argument

Simon Brunning simon at brunningonline.net
Mon Jan 31 04:45:50 EST 2011


On 29 January 2011 18:39,  <patty at cruzio.com> wrote:
>> I, myself, use the spanish word 'yo' instead (less keystrokes, I hate
>> 'self', and it amuses me); if I'm working with my numerical experiments
>> I'll use 'n' or 'x'... although, when posting sample code to c.l.py I do
>> try to use 'self' to avoid possible confusion.  :)
>
> I am glad you said this.  I have been avoiding understanding this 'self',
> just accepting it :}  For the time being, since my programs I am creating
> are for my own use, I think I will make my own names up, that are
> descriptive to me as the programmer, it's all going to be interpreted
> anyway.  And the other email equating to C's argv, etc. - now I get it.

It's perfectly legal to use a name other than self. It's alo perfectly
legal never to wash - and you won't make any friends that way either.

-- 
Cheers,
Simon B.



More information about the Python-list mailing list