Recently I decided to add dictionaries with the following syntax:
{a: 1, b: 2}
There is a problem: the colon character is already being used for list and set comprehensions, so it will be more tricky to decide what the user wants. My solution to that problem is changing the syntax for sets and lists. Now it should be like this:
Recently I decided to add dictionaries with the following syntax:
There is a problem: the colon character is already being used for list and set comprehensions, so it will be more tricky to decide what the user wants. My solution to that problem is changing the syntax for sets and lists. Now it should be like this: