Skip to content

Commit c9c1dbd

Browse files
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) (GH-25635)
(cherry picked from commit 8a307e4) Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com> Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com>
1 parent 3b917d1 commit c9c1dbd

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
@@ -592,4 +592,4 @@ Exceptions
592592

593593
Raised when an implicitly defined :meth:`__setattr__` or
594594
:meth:`__delattr__` is called on a dataclass which was defined with
595-
``frozen=True``.
595+
``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
@@ -1431,6 +1431,7 @@ Vlad Riscutia
14311431
Wes Rishel
14321432
Daniel Riti
14331433
Juan M. Bello Rivas
1434+
Llandy Riveron Del Risco
14341435
Mohd Sanad Zaki Rizvi
14351436
Davide Rizzo
14361437
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)