summaryrefslogtreecommitdiffstats
path: root/Tools/compiler/ast.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/compiler/ast.txt')
-rw-r--r--Tools/compiler/ast.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/compiler/ast.txt b/Tools/compiler/ast.txt
index be7197f..2f62f55 100644
--- a/Tools/compiler/ast.txt
+++ b/Tools/compiler/ast.txt
@@ -12,8 +12,8 @@
Module: doc*, node
Stmt: nodes!
Decorators: nodes!
-Function: decorators&, name*, argnames*, defaults!, flags*, doc*, code
-Lambda: argnames*, defaults!, flags*, code
+Function: decorators&, name*, argnames*, defaults!, kwonlyargs*, flags*, doc*, code
+Lambda: argnames*, defaults!, kwonlyargs*, flags*, code
Class: name*, bases!, doc*, code
Pass:
Break:
@@ -97,6 +97,7 @@ init(Lambda):
init(GenExpr):
self.argnames = ['.0']
self.varargs = self.kwargs = None
+ self.kwonlyargs = ()
init(GenExprFor):
self.is_outmost = False