Proposal for removing self

Ian J Cottee ian at cottee.org
Thu Aug 26 04:34:59 CEST 2004


Erik Max Francis wrote:

> Furthermore, I believe there's been some talk as a prefixed dot being
> reserved for possible use in a "with" control structure at some point in
> the future.  So using it to abbreviate self is definitely out. 
> (Besides, this proposal is not new.)

Which means the op would be able to do

	with self
		.firstname = 'Brian'
		.surname = 'Trubshaw'
		.occupation = 'Test Pilot'
		.ovine_experience = 'Unknown'

I guess

Ian



More information about the Python-list mailing list