summaryrefslogtreecommitdiffstats
path: root/Doc/library/ast.rst
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2023-07-26 15:34:15 (GMT)
committerGitHub <noreply@github.com>2023-07-26 15:34:15 (GMT)
commitda8f87b7ea421894c41dfc37f578e03409c5d280 (patch)
treeb48f7099f287b2269a25ab7476fae45c06182f05 /Doc/library/ast.rst
parentb0202a4e5d6b629ba5acbc703e950f08ebaf07df (diff)
downloadcpython-da8f87b7ea421894c41dfc37f578e03409c5d280.zip
cpython-da8f87b7ea421894c41dfc37f578e03409c5d280.tar.gz
cpython-da8f87b7ea421894c41dfc37f578e03409c5d280.tar.bz2
gh-107015: Remove async_hacks from the tokenizer (#107018)
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r--Doc/library/ast.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 530cf30..cd657ae 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -2146,7 +2146,7 @@ and classes for traversing abstract syntax trees:
Currently ``major`` must equal to ``3``. For example, setting
``feature_version=(3, 4)`` will allow the use of ``async`` and
``await`` as variable names. The lowest supported version is
- ``(3, 4)``; the highest is ``sys.version_info[0:2]``.
+ ``(3, 7)``; the highest is ``sys.version_info[0:2]``.
If source contains a null character ('\0'), :exc:`ValueError` is raised.
@@ -2169,6 +2169,9 @@ and classes for traversing abstract syntax trees:
.. versionchanged:: 3.8
Added ``type_comments``, ``mode='func_type'`` and ``feature_version``.
+ .. versionchanged:: 3.13
+ The minimum supported version for feature_version is now (3,7)
+
.. function:: unparse(ast_obj)