add missing return
This commit is contained in:
parent
7d0a4f7133
commit
ed1ae0d3a2
@ -862,6 +862,7 @@ def typehint_issubclass(possible_subclass: Any, possible_superclass: Any) -> boo
|
|||||||
iterable_type, TypeVar
|
iterable_type, TypeVar
|
||||||
):
|
):
|
||||||
return typehint_issubclass(str, iterable_type)
|
return typehint_issubclass(str, iterable_type)
|
||||||
|
return True
|
||||||
|
|
||||||
if not safe_issubclass(
|
if not safe_issubclass(
|
||||||
provided_type_origin, (accepted_type_origin or possible_superclass)
|
provided_type_origin, (accepted_type_origin or possible_superclass)
|
||||||
|
Loading…
Reference in New Issue
Block a user