when and how do you use Self?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu Nov 3 21:28:44 EST 2005


Steven D'Aprano a écrit :
> On Thu, 03 Nov 2005 20:19:03 +0100, bruno at modulix wrote:
> 
> 
>>Steven D'Aprano wrote:
>>
>>>On Thu, 03 Nov 2005 10:14:23 +0100, bruno at modulix wrote:
>>>
>>>
>>>
>>>>Tieche Bruce A MSgt USMTM/AFD wrote:
>>>>
>>>>
>>>>>I am new to python,
>>>>>
>>>>>
>>>>>
>>>>>Could someone explain (in English) how and when to use self?
>>>>>
>>>>
>>>>Don't use self. Use other.
>>>
>>>
>>>Are you serious? 
>>
>>Are you seriously wondering if I am serious ?
> 
> 
> Well, you are either serious, or you're guilty of giving extremely bad
> advice to a newbie who will probably have even less ability to recognise
> an in-joke than I do.
> 

Guilty. I thought the pun would be obvious (even if very bad).



More information about the Python-list mailing list