[Python-ideas] Dict-like object with property access

Simon Sapin simon.sapin at kozea.fr
Wed Feb 1 09:06:33 CET 2012


Le 01/02/2012 02:06, MRAB a écrit :
>> > I'm not a fan of any of the .[], .(), .{} patterns, nor of .! .
>> >
> .() looks the most sensible to me.
>
If .[] looks like indexing, .() looks like calling. (I’m not for or 
against either of these, just pointing out that they have the same problem.)
Regards,
-- 
Simon Sapin


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /