Skip to content

Commit 42a6898

Browse files
committed
fix
1 parent 5c3d789 commit 42a6898

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Lib/dataclasses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import re
22
import sys
33
import copy
4-
import trace
54
import types
65
import inspect
76
import keyword

Misc/NEWS.d/next/Library/2025-12-03-06-12-39.gh-issue-142214.appYNZ.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Fix two regressions in :mod:`dataclasses` related to annotations:
66
- An exception is no longer raised if annotations are requested on the
77
``__init__`` method and one of the fields is not present in the class
88
annotations. This can occur in certain dynamic scenarios.
9+

0 commit comments

Comments
 (0)