]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add weakref_slot to dataclass decorator, to allow instances with slots to be weakref...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 2 May 2022 16:36:39 +0000 (10:36 -0600)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 16:36:39 +0000 (10:36 -0600)
commit5f9c0f5ddf441dedeb085b0d9f9c9488ca6bd44d
tree7cd849376052fc7278742ebeb799e77e35cd4793
parent958f21c5cdb3bbbd16fec87164785cff3dacce96
Add weakref_slot to dataclass decorator, to allow instances with slots to be weakref-able. (#92160)
Doc/library/dataclasses.rst
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2022-05-02-09-09-47.gh-issue-91215.l1p7CJ.rst [new file with mode: 0644]