summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-26 19:36:13 (GMT)
committerGitHub <noreply@github.com>2021-04-26 19:36:13 (GMT)
commit081bfe4eb58e107de0a38e98c44a3253e4ed1240 (patch)
treee748fefa13dc9c3f62cd2ee0f4f360b09d8682cf
parent9b5f30efe40e8da4348cd24c0e1147fd79f0ff8a (diff)
downloadcpython-081bfe4eb58e107de0a38e98c44a3253e4ed1240.zip
cpython-081bfe4eb58e107de0a38e98c44a3253e4ed1240.tar.gz
cpython-081bfe4eb58e107de0a38e98c44a3253e4ed1240.tar.bz2
bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) (GH-25636)
(cherry picked from commit 8a307e488d596914a7a5df6b2fdd945f8ce81e69) Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com> Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com>
-rw-r--r--Doc/library/dataclasses.rst2
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-04-25-22-44-27.bpo-43938.nC660q.rst2
3 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 24acd74..9b53372 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -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`.
diff --git a/Misc/ACKS b/Misc/ACKS
index 39aa954..b25bd20 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1401,6 +1401,7 @@ Vlad Riscutia
Wes Rishel
Daniel Riti
Juan M. Bello Rivas
+Llandy Riveron Del Risco
Mohd Sanad Zaki Rizvi
Davide Rizzo
Anthony Roach
diff --git a/Misc/NEWS.d/next/Documentation/2021-04-25-22-44-27.bpo-43938.nC660q.rst b/Misc/NEWS.d/next/Documentation/2021-04-25-22-44-27.bpo-43938.nC660q.rst
new file mode 100644
index 0000000..dcf252e
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-04-25-22-44-27.bpo-43938.nC660q.rst
@@ -0,0 +1,2 @@
+Update dataclasses documentation to express that FrozenInstanceError is
+derived from AttributeError.