PEP 640: Add clarification (#1662)
This commit is contained in:
parent
4338ac9f48
commit
0181d5c214
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue