summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-14 16:49:52 -0700
committerGitHub <noreply@github.com>2019-07-14 16:49:52 -0700
commitcf9a63c6c7e19f3d27cf3b5731d02cc216ef3dd1 (patch)
tree087fb25d3e2aea6ef3bdcc9a8b4eda8637a1b83f /Parser
parent3958b7aae8cc7c571a842ff43c1dea1da9abdd9d (diff)
downloadcpython-git-cf9a63c6c7e19f3d27cf3b5731d02cc216ef3dd1.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 (cherry picked from commit cd6e83b4810549c308ab2d7315dbab526e35ccf6) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Python.asdl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 0c00d398b4..126d478975 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -111,7 +111,7 @@ module Python
excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
attributes (int lineno, int col_offset, int? end_lineno, int? end_col_offset)
- arguments = (arg* args, arg* posonlyargs, arg? vararg, arg* kwonlyargs,
+ arguments = (arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs,
expr* kw_defaults, arg? kwarg, expr* defaults)
arg = (identifier arg, expr? annotation, string? type_comment)