Skip to content

Commit 83697f6

Browse files
committed
fix bug
1 parent 3b545bc commit 83697f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Goldfish(Fish):
1313

1414
class Shark(Fish):
1515
def __init__(self):
16-
Fish.__init__(self) #__init__后面跟的参数要与父类__init__后面的参数一致
16+
Fish.__init__(self) #__init__后面跟的参数要与父类__init__后面的参数一致
1717
self.hungry = True
1818
def eat(self):
1919
if self.hungry == True:

0 commit comments

Comments
 (0)