Differences between Class(Object) and Class(Dict) for dictionary usage?

Ethan Furman ethan at stoneleaf.us
Wed Apr 27 01:33:47 EDT 2016


On 04/26/2016 08:54 PM, Ben Finney wrote:

> (Note that “allow attribute-syntax access to dictionary items” does not
> qualify as “better”, IMO; it qualifies as “needlessly confusing distinct
> concepts”.)

Well, since one of the side-effects of class instances is to provide 
"attribute-syntax access to" the instances' "dictionary items" I would 
say that distinction is pretty thin already. ;)

--
~Ethan~




More information about the Python-list mailing list