mirror of
https://github.com/python/cpython.git
synced 2025-11-18 18:31:56 +00:00
bpo-37353: Updated parser note about source code compatibility(GH-14277)
This commit is contained in:
parent
8b03f943c3
commit
062cfe3b11
1 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ Python version to another as source text will always allow correct parse trees
|
|||
to be created in the target version, with the only restriction being that
|
||||
migrating to an older version of the interpreter will not support more recent
|
||||
language constructs. The parse trees are not typically compatible from one
|
||||
version to another, whereas source code has always been forward-compatible.
|
||||
version to another, though source code has usually been forward-compatible within
|
||||
a major release series.
|
||||
|
||||
Each element of the sequences returned by :func:`st2list` or :func:`st2tuple`
|
||||
has a simple form. Sequences representing non-terminal elements in the grammar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue