type->Type

This commit is contained in:
jakkdl 2023-12-01 18:28:12 +01:00
parent e577541b4b
commit b2f659780a
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ E2 = TypeVar("E2", bound=BaseException)
class Matcher(Generic[E]):
def __init__(
self,
exception_type: Optional[type[E]] = None,
exception_type: Optional[Type[E]] = None,
match: Optional[Union[str, Pattern[str]]] = None,
check: Optional[Callable[[E], bool]] = None,
):