From b2d3f8cdf4a5c75e6a33b4c7cf6adae3354fdf9b Mon Sep 17 00:00:00 2001 From: Allan Point Date: Sat, 5 Feb 2022 20:49:05 +0100 Subject: [PATCH] Correction erreur d'indentation --- src/boat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boat.py b/src/boat.py index c7e8c81..0da9c2f 100644 --- a/src/boat.py +++ b/src/boat.py @@ -22,7 +22,7 @@ class Boat: When a Boat goes to string, the returned value is simply the name of this Boat. """ return self.name - def __eq__(self, other): + def __eq__(self, other): if other is None: return False if not isinstance(other, self.__class__):