summaryrefslogtreecommitdiffstats
path: root/Doc/library/ast.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r--Doc/library/ast.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index eb6a973..b6b1e07 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1724,7 +1724,7 @@ Function and class definitions
body=[
FunctionDef(
name='f',
- typeparams=[],
+ type_params=[],
args=arguments(
posonlyargs=[],
args=[
@@ -1848,7 +1848,7 @@ Function and class definitions
body=[
ClassDef(
name='Foo',
- typeparams=[],
+ type_params=[],
bases=[
Name(id='base1', ctx=Load()),
Name(id='base2', ctx=Load())],
@@ -1887,7 +1887,7 @@ Async and await
body=[
AsyncFunctionDef(
name='f',
- typeparams=[],
+ type_params=[],
args=arguments(
posonlyargs=[],
args=[],