[Python-checkins] bpo-37353: Updated parser note about source code compatibility(GH-14277)
Zachary Ware
webhook-mailer at python.org
Fri Sep 20 09:55:39 EDT 2019
https://github.com/python/cpython/commit/062cfe3b11c61d03ccc2915e360f9b0d80e23642
commit: 062cfe3b11c61d03ccc2915e360f9b0d80e23642
branch: master
author: Prateek Nayak <45075669+Kriyszig at users.noreply.github.com>
committer: Zachary Ware <zachary.ware at gmail.com>
date: 2019-09-20T08:55:26-05:00
summary:
bpo-37353: Updated parser note about source code compatibility(GH-14277)
files:
M Doc/library/parser.rst
diff --git a/Doc/library/parser.rst b/Doc/library/parser.rst
index c55cd653b371..e4d6d1d0f5a3 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
More information about the Python-checkins
mailing list