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"). -- http://mail.python.org/mailman/listinfo/python-list