Skip to content

Commit 1c2bb5b

Browse files
fix typo for "kerosene"
1 parent ddd6b9c commit 1c2bb5b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/data/messages/a/arguments-differ/bad.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def fill_tank(self, gas):
1616

1717

1818
class Airplane(Car):
19-
kerosine_tank = 0
19+
kerosene_tank = 0
2020

21-
def fill_tank(self, gas, kerosine): # [arguments-differ]
21+
def fill_tank(self, gas, kerosene): # [arguments-differ]
2222
self.tank += gas
23-
self.kerosine_tank += kerosine
23+
self.kerosene_tank += kerosene

doc/data/messages/a/arguments-differ/good.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def fill_tank(self, gas):
1717

1818
class Airplane:
1919
tank = 0
20-
kerosine_tank = 0
20+
kerosene_tank = 0
2121

22-
def fill_tank(self, gas, kerosine):
22+
def fill_tank(self, gas, kerosene):
2323
self.tank += gas
24-
self.kerosine_tank += kerosine
24+
self.kerosene_tank += kerosene

0 commit comments

Comments
 (0)