From cd6e83b4810549c308ab2d7315dbab526e35ccf6 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Mon, 15 Jul 2019 01:32:18 +0200 Subject: bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778) https://bugs.python.org/issue37593 --- Python/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ast.c') diff --git a/Python/ast.c b/Python/ast.c index 8dc86c23d6..ce3b4927bc 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1688,7 +1688,7 @@ ast_for_arguments(struct compiling *c, const node *n) return NULL; } } - return arguments(posargs, posonlyargs, vararg, kwonlyargs, kwdefaults, kwarg, posdefaults, c->c_arena); + return arguments(posonlyargs, posargs, vararg, kwonlyargs, kwdefaults, kwarg, posdefaults, c->c_arena); } static expr_ty -- cgit v1.2.1