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

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


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

	How about defining __getattr__ and company?

		-Rozzin.





More information about the Python-list mailing list