diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-07-14 23:32:18 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-14 23:32:18 (GMT) |
commit | cd6e83b4810549c308ab2d7315dbab526e35ccf6 (patch) | |
tree | 978814533cacd17ee669ef32504e502acd4f7a20 /Include/Python-ast.h | |
parent | 8b7db5a1114e2113a756bdf8877fbe366055c69a (diff) | |
download | cpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.zip cpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.tar.gz cpython-cd6e83b4810549c308ab2d7315dbab526e35ccf6.tar.bz2 |
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 'Include/Python-ast.h')
-rw-r--r-- | Include/Python-ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/Python-ast.h b/Include/Python-ast.h index 6262650..5fe4f2b 100644 --- a/Include/Python-ast.h +++ b/Include/Python-ast.h @@ -426,8 +426,8 @@ struct _excepthandler { }; struct _arguments { - asdl_seq *args; asdl_seq *posonlyargs; + asdl_seq *args; arg_ty vararg; asdl_seq *kwonlyargs; asdl_seq *kw_defaults; @@ -687,7 +687,7 @@ excepthandler_ty _Py_ExceptHandler(expr_ty type, identifier name, asdl_seq * end_lineno, int end_col_offset, PyArena *arena); #define arguments(a0, a1, a2, a3, a4, a5, a6, a7) _Py_arguments(a0, a1, a2, a3, a4, a5, a6, a7) -arguments_ty _Py_arguments(asdl_seq * args, asdl_seq * posonlyargs, arg_ty +arguments_ty _Py_arguments(asdl_seq * posonlyargs, asdl_seq * args, arg_ty vararg, asdl_seq * kwonlyargs, asdl_seq * kw_defaults, arg_ty kwarg, asdl_seq * defaults, PyArena *arena); |