summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Python.asdl11
1 files changed, 4 insertions, 7 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 526cffb..f470ad1 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -6,7 +6,7 @@
module Python
{
- mod = Module(stmt* body, string? docstring)
+ mod = Module(stmt* body)
| Interactive(stmt* body)
| Expression(expr body)
@@ -14,18 +14,15 @@ module Python
| Suite(stmt* body)
stmt = FunctionDef(identifier name, arguments args,
- stmt* body, expr* decorator_list, expr? returns,
- string? docstring)
+ stmt* body, expr* decorator_list, expr? returns)
| AsyncFunctionDef(identifier name, arguments args,
- stmt* body, expr* decorator_list, expr? returns,
- string? docstring)
+ stmt* body, expr* decorator_list, expr? returns)
| ClassDef(identifier name,
expr* bases,
keyword* keywords,
stmt* body,
- expr* decorator_list,
- string? docstring)
+ expr* decorator_list)
| Return(expr? value)
| Delete(expr* targets)