mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603)
This commit is contained in:
parent
1b1f9852bd
commit
8a307e488d
3 changed files with 4 additions and 1 deletions
|
@ -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`.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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