]> granicus.if.org Git - python/commitdiff
bpo-37353: Updated parser note about source code compatibility(GH-14277)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Sep 2019 14:03:21 +0000 (07:03 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2019 14:03:21 +0000 (07:03 -0700)
(cherry picked from commit 062cfe3b11c61d03ccc2915e360f9b0d80e23642)

Co-authored-by: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com>
Doc/library/parser.rst

index a302681eca056855c8b458d2412f6d4380833b55..1d2da300709c87eb7e1c87813e585c164dc550fb 100644 (file)
@@ -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