diff --git a/README.md b/README.md index e86795e..a89a7bc 100644 --- a/README.md +++ b/README.md @@ -463,7 +463,7 @@ class : def __init__(self, a): self.a = a def __repr__(self): - # To return string of all members use: return f'{self.__dict__}' + # To return string of all members use: return f'{self.__dict__}'. return str({'a': self.a}) def __str__(self): return str(self.a)