summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorYurii Karabas <1998uriyyo@gmail.com>2021-09-02 16:17:13 (GMT)
committerGitHub <noreply@github.com>2021-09-02 16:17:13 (GMT)
commit0635e201beaf52373f776ff32702795e38f43ae3 (patch)
treef23518d81af71a099800426fdc5147a5dd1a9d0c /Misc/NEWS.d
parent767a17f35a581da664ac8cf5d67281da9485eebf (diff)
downloadcpython-0635e201beaf52373f776ff32702795e38f43ae3.zip
cpython-0635e201beaf52373f776ff32702795e38f43ae3.tar.gz
cpython-0635e201beaf52373f776ff32702795e38f43ae3.tar.bz2
bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-28121)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-09-02-12-42-25.bpo-45081.tOjJ1k.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-09-02-12-42-25.bpo-45081.tOjJ1k.rst b/Misc/NEWS.d/next/Library/2021-09-02-12-42-25.bpo-45081.tOjJ1k.rst
new file mode 100644
index 0000000..86d7182
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-09-02-12-42-25.bpo-45081.tOjJ1k.rst
@@ -0,0 +1,2 @@
+Fix issue when dataclasses that inherit from ``typing.Protocol`` subclasses
+have wrong ``__init__``. Patch provided by Yurii Karabas.