Skip to content

Commit 0c2249f

Browse files
ExplodingCabbageJelleZijlstra
authored andcommitted
Add FileHandler properties (#1834)
Fixes #1833.
1 parent 1e8b953 commit 0c2249f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/2and3/logging/__init__.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ class StreamHandler(Handler):
373373

374374

375375
class FileHandler(Handler):
376+
baseFilename = ... # type: str
377+
mode = ... # type: str
378+
encoding = ... # type: Optional[str]
379+
delay = ... # type: bool
376380
def __init__(self, filename: str, mode: str = ...,
377381
encoding: Optional[str] = ..., delay: bool = ...) -> None: ...
378382

0 commit comments

Comments
 (0)