summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authordhoekstra2000 <douwe.hoekstra2512@gmail.com>2021-05-10 13:30:22 (GMT)
committerGitHub <noreply@github.com>2021-05-10 13:30:22 (GMT)
commit2a031723eefcf6f1d678bbb4f6018610d43623c4 (patch)
tree63aaac4ed8853eaec7f672ba637cd50612b635ad /Misc
parent45862f9f5ef5d3c9da37f35e4fe4b18618530cfa (diff)
downloadcpython-2a031723eefcf6f1d678bbb4f6018610d43623c4.zip
cpython-2a031723eefcf6f1d678bbb4f6018610d43623c4.tar.gz
cpython-2a031723eefcf6f1d678bbb4f6018610d43623c4.tar.bz2
bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-05-07-12-27-09.bpo-43558.UGhA8R.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 480a486..b023bcb 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -736,6 +736,7 @@ David Hobley
Tim Hochberg
Benjamin Hodgson
Joerg-Cyril Hoehle
+Douwe Hoekstra
Gregor Hoffleit
Chris Hoffman
Tim Hoffmann
diff --git a/Misc/NEWS.d/next/Documentation/2021-05-07-12-27-09.bpo-43558.UGhA8R.rst b/Misc/NEWS.d/next/Documentation/2021-05-07-12-27-09.bpo-43558.UGhA8R.rst
new file mode 100644
index 0000000..b0ecb17
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-05-07-12-27-09.bpo-43558.UGhA8R.rst
@@ -0,0 +1,2 @@
+Add the remark to :mod:`dataclasses` documentation that the :meth:`__init__` of any base class
+has to be called in :meth:`__post_init__`, along with a code example. \ No newline at end of file