Add FileHandler properties (#1834)

Fixes #1833.
This commit is contained in:
Mark Amery
2018-02-17 01:21:30 +00:00
committed by Jelle Zijlstra
parent 1e8b953182
commit 0c2249fbd6

View File

@@ -373,6 +373,10 @@ class StreamHandler(Handler):
class FileHandler(Handler):
baseFilename = ... # type: str
mode = ... # type: str
encoding = ... # type: Optional[str]
delay = ... # type: bool
def __init__(self, filename: str, mode: str = ...,
encoding: Optional[str] = ..., delay: bool = ...) -> None: ...