remove weird guy

This commit is contained in:
Khaleel Al-Adhami 2025-02-18 14:21:32 -08:00
parent 5396f80604
commit 5537eb1121

View File

@ -1635,8 +1635,6 @@ def is_tuple_type(t: GenericType) -> bool:
Returns:
Whether the type is a tuple type.
"""
if inspect.isclass(t):
return issubclass(t, tuple)
return get_origin(t) is tuple