We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726884b commit 4ff779cCopy full SHA for 4ff779c
parser/src/python.lalrpop
@@ -964,7 +964,7 @@ WithItem<Goal>: ast::Withitem = {
964
};
965
966
FuncDef: ast::Stmt = {
967
- <decorator_list:Decorator*> <location:@L> <is_async:"async"?> "def" <name:Identifier> <args:Parameters> <r:("->" <Test<"all">>)?> ":" <body:Suite> => {
+ <decorator_list:Decorator*> <location:@L> <is_async:"async"?> "def" <name:Identifier> <args:Parameters> <r:("->" <Test<"all">>)?> ":" <body:Suite> => {
968
let args = Box::new(args);
969
let returns = r.map(|x| Box::new(x));
970
let end_location = body.last().unwrap().end();
0 commit comments