mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
- Missing attribute `StreamHandler.stream` - Missing attribute `StreamHandler.terminator` - terminator is only available in 3.3+
This commit is contained in:
committed by
Jelle Zijlstra
parent
1f867d8ab8
commit
b8f7ba8e8a
@@ -366,6 +366,9 @@ if sys.version_info >= (3,):
|
||||
|
||||
|
||||
class StreamHandler(Handler):
|
||||
stream = ... # type IO[str]
|
||||
if sys.version_info >= (3,):
|
||||
terminator = ... # type: str
|
||||
def __init__(self, stream: Optional[IO[str]] = ...) -> None: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user