[Python-ideas] syntax for set
Masklinn
masklinn at masklinn.net
Mon Nov 15 23:09:39 CET 2010
More information about the Python-ideas mailing list
Mon Nov 15 23:09:39 CET 2010
- Previous message: [Python-ideas] syntax for set
- Next message: [Python-ideas] syntax for set
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2010-11-15, at 21:52 , MRAB wrote:
>
> I set is unordered, like a dict, so using {...} for both kind of makes
> sense, with the entries in the dict literal consisting of pairs
> separated by ":", which is why I would've liked {:}.
And as somebody suggested a few days/weeks ago, it leaves the door open to `[k:v]` as an ordereddict literal, as a parallel to {}/{:}.
- Previous message: [Python-ideas] syntax for set
- Next message: [Python-ideas] syntax for set
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list