Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 4ff779c

Browse files
Update parser/src/python.lalrpop
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
1 parent 726884b commit 4ff779c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser/src/python.lalrpop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ WithItem<Goal>: ast::Withitem = {
964964
};
965965

966966
FuncDef: ast::Stmt = {
967-
<decorator_list:Decorator*> <location:@L> <is_async:"async"?> "def" <name:Identifier> <args:Parameters> <r:("->" <Test<"all">>)?> ":" <body:Suite> => {
967+
<decorator_list:Decorator*> <location:@L> <is_async:"async"?> "def" <name:Identifier> <args:Parameters> <r:("->" <Test<"all">>)?> ":" <body:Suite> => {
968968
let args = Box::new(args);
969969
let returns = r.map(|x| Box::new(x));
970970
let end_location = body.last().unwrap().end();

0 commit comments

Comments
 (0)