mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Fix Filter.filter return type - bool, not int (#4358)
This commit is contained in:
@@ -371,7 +371,7 @@ class Formatter:
|
||||
|
||||
class Filter:
|
||||
def __init__(self, name: str = ...) -> None: ...
|
||||
def filter(self, record: LogRecord) -> int: ...
|
||||
def filter(self, record: LogRecord) -> bool: ...
|
||||
|
||||
class LogRecord:
|
||||
args: _ArgsType
|
||||
|
||||
Reference in New Issue
Block a user