mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
15
stdlib/3/socketserver.pyi
Normal file
15
stdlib/3/socketserver.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
# Stubs for socketserver
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
class BaseRequestHandler(): ...
|
||||
|
||||
class TCPServer():
|
||||
def __init__(
|
||||
self,
|
||||
server_address: Tuple[str, int],
|
||||
request_handler: BaseRequestHandler,
|
||||
bind_and_activate: bool = True,
|
||||
) -> None: ...
|
||||
Reference in New Issue
Block a user