diff options
author | Eric V. Smith <ericvsmith@users.noreply.github.com> | 2021-04-26 00:42:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 00:42:39 (GMT) |
commit | c0280532dc8cab184a48c97e03e41cc8807f383d (patch) | |
tree | daa3489cc4080666b4cb4eb1ffc6d815edbd61ae /Misc | |
parent | 7f8e072c6dc88d6973d81f8fd572c04c88e7e3d7 (diff) | |
download | cpython-c0280532dc8cab184a48c97e03e41cc8807f383d.zip cpython-c0280532dc8cab184a48c97e03e41cc8807f383d.tar.gz cpython-c0280532dc8cab184a48c97e03e41cc8807f383d.tar.bz2 |
Add keyword-only fields to dataclasses. (GH=25608)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-03-17-19-06-45.bpo-43532.W2Ntnm.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-03-17-19-06-45.bpo-43532.W2Ntnm.rst b/Misc/NEWS.d/next/Library/2021-03-17-19-06-45.bpo-43532.W2Ntnm.rst new file mode 100644 index 0000000..11ea5f9 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-03-17-19-06-45.bpo-43532.W2Ntnm.rst @@ -0,0 +1,2 @@ +Add the ability to specify keyword-only fields to dataclasses. These fields +will become keyword-only arguments to the generated __init__. |