Skip to content

Commit 64d54c4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 4f7d8c9 commit 64d54c4

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

stdlib/builtins.pyi

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1825,28 +1825,20 @@ _ClassInfo: TypeAlias = type | types.UnionType | tuple[_ClassInfo, ...]
18251825
@overload
18261826
def isinstance(obj: object, class_or_tuple: type[_T] | tuple[type[_T]], /) -> TypeIs[_T]: ...
18271827
@overload
1828-
def isinstance(
1829-
obj: object, class_or_tuple: tuple[type[_T], type[_T1]], /
1830-
) -> TypeIs[_T | _T1]: ...
1828+
def isinstance(obj: object, class_or_tuple: tuple[type[_T], type[_T1]], /) -> TypeIs[_T | _T1]: ...
18311829
@overload
1832-
def isinstance(
1833-
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2]], /
1834-
) -> TypeIs[_T | _T1 | _T2]: ...
1830+
def isinstance(obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2]], /) -> TypeIs[_T | _T1 | _T2]: ...
18351831
@overload
18361832
def isinstance(
18371833
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3]], /
18381834
) -> TypeIs[_T | _T1 | _T2 | _T3]: ...
18391835
@overload
18401836
def isinstance(
1841-
obj: object,
1842-
class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4]],
1843-
/,
1837+
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4]], /
18441838
) -> TypeIs[_T | _T1 | _T2 | _T3 | _T4]: ...
18451839
@overload
18461840
def isinstance(
1847-
obj: object,
1848-
class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4], type[_T5]],
1849-
/,
1841+
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4], type[_T5]], /
18501842
) -> TypeIs[_T | _T1 | _T2 | _T3 | _T4 | _T5]: ...
18511843
@overload
18521844
def isinstance(obj: object, class_or_tuple: _ClassInfo, /) -> bool: ...

0 commit comments

Comments
 (0)