add (overwrite with) mypy stubs, if available

This commit is contained in:
Matthias Kramm
2015-09-30 07:36:12 -07:00
parent 69e10b3aed
commit 337abed05a
432 changed files with 22360 additions and 776 deletions

15
stdlib/3/socketserver.pyi Normal file
View 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: ...