]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102948)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Thu, 23 Mar 2023 14:17:54 +0000 (14:17 +0000)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 14:17:54 +0000 (14:17 +0000)
commitbaf4eb083c09b323cc12b8636c28c14089b87de8
tree1dc001e010df806e7d341d466bb592103be28d64
parent08254be6c5324416081cc28a047b377e1f4ed644
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102948)
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2023-03-23-13-34-33.gh-issue-102947.cTwcpU.rst [new file with mode: 0644]