diff --git a/python-mutable-immutable/point.py b/python-mutable-immutable/point.py index 0758289177..a2aeb8474e 100644 --- a/python-mutable-immutable/point.py +++ b/python-mutable-immutable/point.py @@ -23,7 +23,7 @@ def __get__(self, instance, owner): return instance.__dict__[f"_{self._name}"] def __set__(self, instance, value): - raise AttributeError(f"can't set attribute {self._name}") + raise AttributeError(f"can't set attribute '{self._name}'") class Point: