]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (GH-102948)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 23 Mar 2023 14:45:59 +0000 (07:45 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 14:45:59 +0000 (07:45 -0700)
commit6ffeeb2199176b8433c1b7b46e669132e44d394d
tree5e1860659a81b86473436861a067d81d5de40218
parentf79cfb662589a0c1a5fdb35a5ed429c07c93ebd6
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (GH-102948)

(cherry picked from commit baf4eb083c09b323cc12b8636c28c14089b87de8)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
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]