total idiot question: +=, .=, etc...
Greg Ewing
Greg.Ewing at p98.f112.n480.z2.fidonet.org
Fri Jul 2 17:14:27 EDT 1999
More information about the Python-list mailing list
Fri Jul 2 17:14:27 EDT 1999
- Previous message (by thread): total idiot question: +=, .=, etc...
- Next message (by thread): total idiot question: +=, .=, etc...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Greg Ewing <greg.ewing at compaq.com> Bernhard Herzog wrote: > > .last = .lines[-1] > .lines = .lines[:-1] Hey, I've just had an idea: allow an *empty* name as an identifier. Then we could write: class C: def foo(,x,y): .z = .z + x * y and kill two birds with one syntax change! Greg
- Previous message (by thread): total idiot question: +=, .=, etc...
- Next message (by thread): total idiot question: +=, .=, etc...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list