Re: [Tutor] special attributes naming confusion

2012-06-09 Thread Alan Gauld
On 09/06/12 09:26, Steven D'Aprano wrote: These methods are really only of interest to someone who wants to define their own abstract data type and make it look like a built in I mostly agree with this, more or less, although I would like to correct your terminology. "Abstract data type" does

Re: [Tutor] special attributes naming confusion

2012-06-09 Thread Steven D'Aprano
Alan Gauld wrote: In general someone "just learning python" doesn't need to know about special names, they just use the operations they define. The only exception being __init__() in class definitions. These methods are really only of interest to someone who wants to define their own abstract