Add missing '-> None' to all __init__ methods.

This commit is contained in:
Matthias Kramm
2015-11-09 10:25:08 -08:00
parent d2a3d4a4ed
commit 4fe8915d44
144 changed files with 580 additions and 580 deletions

View File

@@ -120,7 +120,7 @@ class _SSLContext:
options = ... # type: Any
verify_flags = ... # type: Any
verify_mode = ... # type: Any
def __init__(self, *args, **kwargs): ...
def __init__(self, *args, **kwargs) -> None: ...
def _set_npn_protocols(self, *args, **kwargs): ...
def _wrap_socket(self, *args, **kwargs): ...
def cert_store_stats(self): ...
@@ -137,7 +137,7 @@ class _SSLContext:
class SSLContext(_SSLContext):
def __new__(cls, protocol, *args, **kwargs): ...
protocol = ... # type: Any
def __init__(self, protocol): ...
def __init__(self, protocol) -> None: ...
def wrap_socket(self, sock, server_side=False, do_handshake_on_connect=True,
suppress_ragged_eofs=True, server_hostname=None): ...
def set_npn_protocols(self, npn_protocols): ...