summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrateek Nayak <45075669+Kriyszig@users.noreply.github.com>2019-09-20 19:25:26 +0530
committerZachary Ware <zachary.ware@gmail.com>2019-09-20 08:55:26 -0500
commit062cfe3b11c61d03ccc2915e360f9b0d80e23642 (patch)
tree6ce20b46ad639f85c885af08adebc8eb032b331f
parent8b03f943c37e07fb2394acdcfacd066647f9b1fd (diff)
downloadcpython-git-062cfe3b11c61d03ccc2915e360f9b0d80e23642.tar.gz
bpo-37353: Updated parser note about source code compatibility(GH-14277)
-rw-r--r--Doc/library/parser.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/parser.rst b/Doc/library/parser.rst
index c55cd653b3..e4d6d1d0f5 100644
--- a/Doc/library/parser.rst
+++ b/Doc/library/parser.rst
@@ -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