Skip to content

Commit 740e917

Browse files
pre-commit-ci[bot]jonathandung
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent f751531 commit 740e917

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
@@ -1824,28 +1824,20 @@ _ClassInfo: TypeAlias = type | types.UnionType | tuple[_ClassInfo, ...]
18241824
@overload
18251825
def isinstance(obj: object, class_or_tuple: type[_T] | tuple[type[_T]], /) -> TypeIs[_T]: ...
18261826
@overload
1827-
def isinstance(
1828-
obj: object, class_or_tuple: tuple[type[_T], type[_T1]], /
1829-
) -> TypeIs[_T | _T1]: ...
1827+
def isinstance(obj: object, class_or_tuple: tuple[type[_T], type[_T1]], /) -> TypeIs[_T | _T1]: ...
18301828
@overload
1831-
def isinstance(
1832-
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2]], /
1833-
) -> TypeIs[_T | _T1 | _T2]: ...
1829+
def isinstance(obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2]], /) -> TypeIs[_T | _T1 | _T2]: ...
18341830
@overload
18351831
def isinstance(
18361832
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3]], /
18371833
) -> TypeIs[_T | _T1 | _T2 | _T3]: ...
18381834
@overload
18391835
def isinstance(
1840-
obj: object,
1841-
class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4]],
1842-
/,
1836+
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4]], /
18431837
) -> TypeIs[_T | _T1 | _T2 | _T3 | _T4]: ...
18441838
@overload
18451839
def isinstance(
1846-
obj: object,
1847-
class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4], type[_T5]],
1848-
/,
1840+
obj: object, class_or_tuple: tuple[type[_T], type[_T1], type[_T2], type[_T3], type[_T4], type[_T5]], /
18491841
) -> TypeIs[_T | _T1 | _T2 | _T3 | _T4 | _T5]: ...
18501842
@overload
18511843
def isinstance(obj: object, class_or_tuple: _ClassInfo, /) -> bool: ...

0 commit comments

Comments
 (0)