diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-07-15 01:32:18 +0200 |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-14 16:32:18 -0700 |
commit | cd6e83b4810549c308ab2d7315dbab526e35ccf6 (patch) | |
tree | 978814533cacd17ee669ef32504e502acd4f7a20 /Python/ast.c | |
parent | 8b7db5a1114e2113a756bdf8877fbe366055c69a (diff) | |
download | cpython-git-cd6e83b4810549c308ab2d7315dbab526e35ccf6.tar.gz |
bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778)
https://bugs.python.org/issue37593
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |