PEP 802: Display Syntax for the Empty Set

The question would then become: Why should lists and tuples be written simply as [] and (), but dictionaries have to be {:}? It doesn’t remove the inconsistency, it only shifts it.

3 Likes