Skip to content

Commit ff7d4eb

Browse files
Merge pull request #867 from realpython/maintenance/python-mutable-vs-immutable-types-20260929
Sync python-mutable-immutable with the updated tutorial
2 parents a995c56 + 663aff1 commit ff7d4eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python-mutable-immutable/point.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __get__(self, instance, owner):
2323
return instance.__dict__[f"_{self._name}"]
2424

2525
def __set__(self, instance, value):
26-
raise AttributeError(f"can't set attribute {self._name}")
26+
raise AttributeError(f"can't set attribute '{self._name}'")
2727

2828

2929
class Point:

0 commit comments

Comments
 (0)