Fix Filter.filter return type - bool, not int (#4358)

This commit is contained in:
Vegard Stikbakke
2020-07-24 20:25:06 +02:00
committed by GitHub
parent b45e6cfbf6
commit 51fd8b2a06

View File

@@ -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