Skip to content

Commit 8a307e4

Browse files
authored
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603)
1 parent 1b1f985 commit 8a307e4

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,4 +631,4 @@ Exceptions
631631

632632
Raised when an implicitly defined :meth:`__setattr__` or
633633
:meth:`__delattr__` is called on a dataclass which was defined with
634-
``frozen=True``.
634+
``frozen=True``. It is a subclass of :exc:`AttributeError`.

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ Vlad Riscutia
14521452
Wes Rishel
14531453
Daniel Riti
14541454
Juan M. Bello Rivas
1455+
Llandy Riveron Del Risco
14551456
Mohd Sanad Zaki Rizvi
14561457
Davide Rizzo
14571458
Anthony Roach
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update dataclasses documentation to express that FrozenInstanceError is
2+
derived from AttributeError.

0 commit comments

Comments
 (0)