mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
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:
parent
3b917d1774
commit
c9c1dbd253
3 changed files with 4 additions and 1 deletions
|
@ -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`.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Update dataclasses documentation to express that FrozenInstanceError is
|
||||
derived from AttributeError.
|
Loading…
Add table
Add a link
Reference in a new issue