PEP 640: Add clarification (#1662)

This commit is contained in:
T. Wouters 2020-10-19 14:58:10 -07:00 committed by GitHub
parent 4338ac9f48
commit 0181d5c214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ Backwards Compatibility
Introducing a new token means there are no backward compatibility concerns.
No valid syntax changes meaning.
"?" is not considered an identifier, so str.isidentifier() does not change.
The AST does change in an incompatible way, as the identifier of a Name
token can now be empty. Code using the AST will have to be adjusted
accordingly.