Correction erreur d'indentation

tests^2
Allan Point 3 years ago
parent 102ab2d34e
commit b2d3f8cdf4

@ -22,7 +22,7 @@ class Boat:
When a Boat goes to string, the returned value is simply the name of this Boat. When a Boat goes to string, the returned value is simply the name of this Boat.
""" """
return self.name return self.name
def __eq__(self, other): def __eq__(self, other):
if other is None: if other is None:
return False return False
if not isinstance(other, self.__class__): if not isinstance(other, self.__class__):

Loading…
Cancel
Save