total idiot question: +=, .=, etc...

Joshua Rosen rozzin at
Fri Jun 25 19:34:17 EDT 1999

Neel Krishnaswami wrote:
> Maybe we could re-use the class keyword and let people write
> inside class definitions, by analogy to writing to refer to
> the current instance? And the syntax would get translated to
> the equivalent of self.__class__?

	How about defining __getattr__ and company?


More information about the Python-list mailing list