diff --git a/parser/src/python.lalrpop b/parser/src/python.lalrpop index a53c43a3e5..3de5197d86 100644 --- a/parser/src/python.lalrpop +++ b/parser/src/python.lalrpop @@ -964,7 +964,7 @@ WithItem: ast::Withitem = { }; FuncDef: ast::Stmt = { - "def" " >)?> ":" => { + "def" " >)?> ":" => { let args = Box::new(args); let returns = r.map(|x| Box::new(x)); let end_location = body.last().unwrap().end();