Skip to content

Commit f676ac0

Browse files
authored
Update 2025-03-05-21-48-22.gh-issue-130870.uDz6AQ.rst
1 parent 6278b37 commit f676ac0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
Issue: :gh:`130870`
2-
3-
Detailed changes:
4-
This change improves the handling of ``GenericAlias`` and ``Union`` types in ``_eval_type``, ensuring that callable arguments for ``GenericAlias`` are unflattened and that ``Union`` types are properly evaluated.
1+
Ensure that typing.Callable retains its subclass (_CallableGenericAlias) instead of being incorrectly converted to GenericAlias.

0 commit comments

Comments
 (0)