Skip to content

Commit 3301220

Browse files
authored
Merge pull request RustPython#4186 from andersk/arithmetic
Spell “arithmetic” correctly
2 parents 1b7b3f0 + b9a07f8 commit 3301220

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/parser/python.lalrpop

+4-4
Original file line numberDiff line numberDiff line change
@@ -816,21 +816,21 @@ AndExpression: ast::Expr = {
816816
};
817817

818818
ShiftExpression: ast::Expr = {
819-
<e1:ShiftExpression> <location:@L> <op:ShiftOp> <e2:ArithmaticExpression> => ast::Expr {
819+
<e1:ShiftExpression> <location:@L> <op:ShiftOp> <e2:ArithmeticExpression> => ast::Expr {
820820
location,
821821
custom: (),
822822
node: ast::ExprKind::BinOp { left: Box::new(e1), op, right: Box::new(e2) }
823823
},
824-
ArithmaticExpression,
824+
ArithmeticExpression,
825825
};
826826

827827
ShiftOp: ast::Operator = {
828828
"<<" => ast::Operator::LShift,
829829
">>" => ast::Operator::RShift,
830830
};
831831

832-
ArithmaticExpression: ast::Expr = {
833-
<a:ArithmaticExpression> <location:@L> <op:AddOp> <b:Term> => ast::Expr {
832+
ArithmeticExpression: ast::Expr = {
833+
<a:ArithmeticExpression> <location:@L> <op:AddOp> <b:Term> => ast::Expr {
834834
location,
835835
custom: (),
836836
node: ast::ExprKind::BinOp { left: Box::new(a), op, right: Box::new(b) }

0 commit comments

Comments
 (0)