mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-36187: Remove NamedStore. (GH-12167)
NamedStore has been replaced with Store. The difference between NamedStore and Store is handled when precess the NamedExpr node one level upper.
This commit is contained in:
parent
adfffc7343
commit
d8b3a98c90
7 changed files with 103 additions and 143 deletions
|
@ -43,6 +43,10 @@ SyntaxError: invalid syntax
|
|||
Traceback (most recent call last):
|
||||
SyntaxError: cannot assign to True
|
||||
|
||||
>>> (True := 1)
|
||||
Traceback (most recent call last):
|
||||
SyntaxError: cannot use named assignment with True
|
||||
|
||||
>>> obj.__debug__ = 1
|
||||
Traceback (most recent call last):
|
||||
SyntaxError: cannot assign to __debug__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue