mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Issue #2335: Backport set literals syntax from Python 3.x.
This commit is contained in:
parent
e365613528
commit
ee936a2130
24 changed files with 562 additions and 285 deletions
|
@ -248,6 +248,7 @@ l[0]
|
|||
l[3:4]
|
||||
d = {'a': 2}
|
||||
d = {}
|
||||
s = {1}
|
||||
t = ()
|
||||
t = (1, 2)
|
||||
l = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue