bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) (GH-25635)

(cherry picked from commit 8a307e488d)

Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com>

Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-04-26 12:36:23 -07:00 committed by GitHub
parent 3b917d1774
commit c9c1dbd253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -592,4 +592,4 @@ Exceptions
Raised when an implicitly defined :meth:`__setattr__` or
:meth:`__delattr__` is called on a dataclass which was defined with
``frozen=True``.
``frozen=True``. It is a subclass of :exc:`AttributeError`.

View file

@ -1431,6 +1431,7 @@ Vlad Riscutia
Wes Rishel
Daniel Riti
Juan M. Bello Rivas
Llandy Riveron Del Risco
Mohd Sanad Zaki Rizvi
Davide Rizzo
Anthony Roach

View file

@ -0,0 +1,2 @@
Update dataclasses documentation to express that FrozenInstanceError is
derived from AttributeError.