mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
committed by
Sebastian Rittau
parent
d215f502c6
commit
97f830030c
@@ -29,16 +29,8 @@ SYSLOG_UDP_PORT: int
|
||||
SYSLOG_TCP_PORT: int
|
||||
|
||||
class WatchedFileHandler(FileHandler):
|
||||
@overload
|
||||
def __init__(self, filename: _Path) -> None: ...
|
||||
@overload
|
||||
def __init__(self, filename: _Path, mode: str) -> None: ...
|
||||
@overload
|
||||
def __init__(self, filename: _Path, mode: str,
|
||||
encoding: Optional[str]) -> None: ...
|
||||
@overload
|
||||
def __init__(self, filename: _Path, mode: str, encoding: Optional[str],
|
||||
delay: bool) -> None: ...
|
||||
def __init__(self, filename: _Path, mode: str = ..., encoding: Optional[str] = ...,
|
||||
delay: bool = ...) -> None: ...
|
||||
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
|
||||
Reference in New Issue
Block a user