Skip to content

Commit

Permalink
Update Misc/NEWS.d/next/Library/2024-09-30-20-46-32.gh-issue-124787.3…
Browse files Browse the repository at this point in the history
…FnJnP.rst

Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
sobolevn and JelleZijlstra authored Oct 8, 2024
1 parent 7d439f8 commit 3b3440b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fix :class:`typing.TypeAliasType` with incorrect ``type_params`` argument.
Now it raises a :exc:`TypeError` when: 1. A type var without default follows
a type var with default 2. Not a typelike parameter passed in
``type_params`` tuple
Now it raises a :exc:`TypeError` when a type parameter without a default
follows one with a default, and when an entry in the ``type_params`` tuple
is not a type parameter object.

0 comments on commit 3b3440b

Please sign in to comment.