Skip to content

Commit 062cfe3

Browse files
Kriyszigzware
authored andcommitted
bpo-37353: Updated parser note about source code compatibility(GH-14277)
1 parent 8b03f94 commit 062cfe3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/parser.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ Python version to another as source text will always allow correct parse trees
5151
to be created in the target version, with the only restriction being that
5252
migrating to an older version of the interpreter will not support more recent
5353
language constructs. The parse trees are not typically compatible from one
54-
version to another, whereas source code has always been forward-compatible.
54+
version to another, though source code has usually been forward-compatible within
55+
a major release series.
5556

5657
Each element of the sequences returned by :func:`st2list` or :func:`st2tuple`
5758
has a simple form. Sequences representing non-terminal elements in the grammar

0 commit comments

Comments
 (0)