mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
fix the type definition of namer function (#1498)
This commit is contained in:
@@ -29,7 +29,7 @@ class WatchedFileHandler(Handler):
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
class BaseRotatingHandler(FileHandler):
|
||||
namer = ... # type: Optional[Callable[[str], None]]
|
||||
namer = ... # type: Optional[Callable[[str], str]]
|
||||
rotator = ... # type: Optional[Callable[[str, str], None]]
|
||||
def __init__(self, filename: str, mode: str,
|
||||
encoding: Optional[str] = ...,
|
||||
|
||||
Reference in New Issue
Block a user