Skip to content

Commit

Permalink
Remove type check for tuples; handled by python#477
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan committed Oct 1, 2024
1 parent 249b869 commit e71902e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3535,8 +3535,6 @@ def __init__(self, name: str, value, *, type_params=()):
self.__type_params__ = type_params

parameters = []
if not isinstance(type_params, tuple):
raise TypeError("type_params must be a tuple")
for type_param in type_params:
if isinstance(type_param, TypeVarTuple):
parameters.extend(type_param)
Expand Down

0 comments on commit e71902e

Please sign in to comment.