Python complaints
James Logajan
JamesL at Lugoj.Com
Thu Nov 25 00:03:19 EST 1999
Alexander Williams wrote:
>
> On 24 Nov 1999 05:15:55 GMT, Terry Reedy <tjreedy at udel.edu> wrote:
> >You are currently welcome to save 3 keystrokes (rather than 4)
> >by naming the method parameter 's' instead of 'self'. The latter
>
> In a fit of lazy genius, I struck upon using 'me' instead; its a more
> active referent /and/ faster to type than 'self.' :)
But shouldn't you use the possessive form: "my"? Example:
class C:
def F(my, arg):
print my.arg
versus:
class C:
def F(me, arg):
print me.arg
(The latter comes out sounding like a crusty old sailer!)
More information about the Python-list
mailing list