summaryrefslogtreecommitdiffstats
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-07-14 23:32:18 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-14 23:32:18 (GMT)
commitcd6e83b4810549c308ab2d7315dbab526e35ccf6 (patch)
tree978814533cacd17ee669ef32504e502acd4f7a20 /Parser/Python.asdl
parent8b7db5a1114e2113a756bdf8877fbe366055c69a (diff)
downloadcpython-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 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 0c00d39..126d478 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)