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

This commit is contained in:
Llandy Riveron Del Risco 2021-04-26 20:53:28 +02:00 committed by GitHub
parent 1b1f9852bd
commit 8a307e488d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -631,4 +631,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

@ -1452,6 +1452,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.