fix typo in _SplitCondition definition (#6903)

This commit is contained in:
Jelle Zijlstra
2022-01-12 09:51:24 -08:00
committed by GitHub
parent e8cc83e62e
commit a4b30c4360

View File

@@ -1664,7 +1664,7 @@ if sys.version_info >= (3, 10):
class EncodingWarning(Warning): ...
if sys.version_info >= (3, 11):
_SplitCondition = type[BaseException] | tuple[type[BaseException, ...]] | Callable[[BaseException], bool]
_SplitCondition = type[BaseException] | tuple[type[BaseException], ...] | Callable[[BaseException], bool]
class BaseExceptionGroup(BaseException):
def __new__(cls, __message: str, __exceptions: Sequence[BaseException]) -> BaseExceptionGroup | ExceptionGroup: ...
@property