[3.9] Remove PEG-specific syntax error check in the old parser (GH-20717)

This commit is contained in:
Pablo Galindo 2020-06-08 11:27:58 +01:00 committed by GitHub
parent 8df4f3942f
commit 2b33cc3a25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,10 +63,6 @@ SyntaxError: cannot assign to __debug__
Traceback (most recent call last):
SyntaxError: cannot assign to function call
>>> yield = 1
Traceback (most recent call last):
SyntaxError: assignment to yield expression not possible
>>> del f()
Traceback (most recent call last):
SyntaxError: cannot delete function call