mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update _FilterType to retuning bool (#9514)
This commit is contained in:
@@ -64,7 +64,7 @@ if sys.version_info >= (3, 11):
|
||||
_SysExcInfoType: TypeAlias = Union[tuple[type[BaseException], BaseException, TracebackType | None], tuple[None, None, None]]
|
||||
_ExcInfoType: TypeAlias = None | bool | _SysExcInfoType | BaseException
|
||||
_ArgsType: TypeAlias = tuple[object, ...] | Mapping[str, object]
|
||||
_FilterType: TypeAlias = Filter | Callable[[LogRecord], int]
|
||||
_FilterType: TypeAlias = Filter | Callable[[LogRecord], bool]
|
||||
_Level: TypeAlias = int | str
|
||||
_FormatStyle: TypeAlias = Literal["%", "{", "$"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user