Python 3K or Python 2.9?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu Sep 13 15:29:53 EDT 2007


Bjoern Schliessmann a écrit :
> TheFlyingDutchman wrote:
> 
>>Here's a FAQ item where they refer to it as I think Python should
>>have done it - a special predefined variable:
> 
> 
> Maybe. Personally, I like it the way it is in Python.
> 
> Why don't you make a preprocessor which accepts method declarations
> without "self" and fixes them?

The problem being that there's no such thing as a "method declaration" 
in Python - only functions being attributes of a class...

(ok, I know, you meant "functions declared within a class statement").



More information about the Python-list mailing list