From 3c85ff7617d4a86186e18978f17b4624002a789f Mon Sep 17 00:00:00 2001 From: Real Python Bot <42617967+realpython-bot@users.noreply.github.com> Date: Tue, 29 Sep 2026 06:09:18 +0000 Subject: [PATCH] Sync python-mutable-immutable with the maintenance update of Python's Mutable vs Immutable Types Co-Authored-By: Claude Opus 5.5 --- python-mutable-immutable/point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: