mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
logging: inherit TimedRotatingFileHandler from Handler (#2738)
This commit is contained in:
committed by
Sebastian Rittau
parent
a2ecfafa98
commit
6f09ccb63d
@@ -80,7 +80,7 @@ if sys.version_info >= (3,):
|
||||
delay: bool = ..., utc: bool = ...) -> None: ...
|
||||
def doRollover(self) -> None: ...
|
||||
else:
|
||||
class TimedRotatingFileHandler:
|
||||
class TimedRotatingFileHandler(Handler):
|
||||
def __init__(self,
|
||||
filename: str, when: str = ..., interval: int = ...,
|
||||
backupCount: int = ..., encoding: Optional[str] = ...,
|
||||
|
||||
Reference in New Issue
Block a user