]> granicus.if.org Git - python/commitdiff
bpo-37353: Updated parser note about source code compatibility(GH-14277)
authorPrateek Nayak <45075669+Kriyszig@users.noreply.github.com>
Fri, 20 Sep 2019 13:55:26 +0000 (19:25 +0530)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 20 Sep 2019 13:55:26 +0000 (08:55 -0500)
Doc/library/parser.rst

index c55cd653b371e8675d564c2316d1de1298ef7b0b..e4d6d1d0f5a3f473fd09620964a4e4bc14c24351 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