summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2022-10-31 12:31:01 (GMT)
committerGitHub <noreply@github.com>2022-10-31 12:31:01 (GMT)
commit29f98b46b77ee528477b9a7b335974b9682f7f14 (patch)
treeb4c0b421d8c8412bd33bede75f41782b2a9fe250 /Misc
parent87b5fd9d9de11c68b9940d3a1dba902138129109 (diff)
downloadcpython-29f98b46b77ee528477b9a7b335974b9682f7f14.zip
cpython-29f98b46b77ee528477b9a7b335974b9682f7f14.tar.gz
cpython-29f98b46b77ee528477b9a7b335974b9682f7f14.tar.bz2
gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-10-07-07-31.gh-issue-96151.K9fwoq.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-10-07-07-31.gh-issue-96151.K9fwoq.rst b/Misc/NEWS.d/next/Library/2022-10-10-07-07-31.gh-issue-96151.K9fwoq.rst
new file mode 100644
index 0000000..700c974
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-10-07-07-31.gh-issue-96151.K9fwoq.rst
@@ -0,0 +1 @@
+Allow ``BUILTINS`` to be a valid field name for frozen dataclasses.