Skip to content

Commit 081bfe4

Browse files
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) (GH-25636)
(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 9b5f30e commit 081bfe4

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
@@ -1401,6 +1401,7 @@ Vlad Riscutia
14011401
Wes Rishel
14021402
Daniel Riti
14031403
Juan M. Bello Rivas
1404+
Llandy Riveron Del Risco
14041405
Mohd Sanad Zaki Rizvi
14051406
Davide Rizzo
14061407
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)