summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2019-03-07 12:06:36 -0800
committerGuido van Rossum <guido@python.org>2019-03-07 12:06:36 -0800
commitdbb08ccc4bc34618a49582d7247ee4b75c5cccd2 (patch)
tree5199b491ff99e3b5667a858613a9e1c967a6ce6d
parentbae211cdf25930afa729c75e679a996053ed0105 (diff)
downloadcpython-git-dbb08ccc4bc34618a49582d7247ee4b75c5cccd2.tar.gz
Clarify range of feature_version in docs.
-rw-r--r--Doc/library/ast.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 7422386116..1884bea80e 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -148,7 +148,8 @@ and classes for traversing abstract syntax trees:
Also, setting ``feature_version`` to the minor version of an
earlier Python 3 version will attempt to parse using that version's
grammar. For example, setting ``feature_version=4`` will allow
- the use of ``async`` and ``await`` as variable names.
+ the use of ``async`` and ``await`` as variable names. The lowest
+ supported value is 4; the highest is ``sys.version_info[1]``.
.. warning::
It is possible to crash the Python interpreter with a