diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-02 16:23:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 16:23:22 (GMT) |
commit | 043cd60abed09edddc7185bcf7d039771acc734d (patch) | |
tree | e37e68fdb15b6546d8d37e6bded2e775d57684f1 /Misc | |
parent | 36d952d228582b0ffc7a86c520d4ddbe8943d803 (diff) | |
download | cpython-043cd60abed09edddc7185bcf7d039771acc734d.zip cpython-043cd60abed09edddc7185bcf7d039771acc734d.tar.gz cpython-043cd60abed09edddc7185bcf7d039771acc734d.tar.bz2 |
bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-08-02-14-37-32.bpo-44806.wOW_Qn.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-08-02-14-37-32.bpo-44806.wOW_Qn.rst b/Misc/NEWS.d/next/Library/2021-08-02-14-37-32.bpo-44806.wOW_Qn.rst new file mode 100644 index 0000000..6d818c3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-08-02-14-37-32.bpo-44806.wOW_Qn.rst @@ -0,0 +1,2 @@ +Non-protocol subclasses of :class:`typing.Protocol` ignore now the +``__init__`` method inherited from protocol base classes. |