Skip to content

Commit e71902e

Browse files
committed
Remove type check for tuples; handled by python#477
1 parent 249b869 commit e71902e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/typing_extensions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,8 +3535,6 @@ def __init__(self, name: str, value, *, type_params=()):
35353535
self.__type_params__ = type_params
35363536

35373537
parameters = []
3538-
if not isinstance(type_params, tuple):
3539-
raise TypeError("type_params must be a tuple")
35403538
for type_param in type_params:
35413539
if isinstance(type_param, TypeVarTuple):
35423540
parameters.extend(type_param)

0 commit comments

Comments
 (0)