mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -228,6 +228,7 @@ class Transport:
|
||||
) -> None: ...
|
||||
else:
|
||||
def __init__(self, use_datetime: bool = ..., use_builtin_types: bool = ...) -> None: ...
|
||||
|
||||
def request(self, host: _HostType, handler: str, request_body: bytes, verbose: bool = ...) -> tuple[_Marshallable, ...]: ...
|
||||
def single_request(
|
||||
self, host: _HostType, handler: str, request_body: bytes, verbose: bool = ...
|
||||
@@ -254,6 +255,7 @@ class SafeTransport(Transport):
|
||||
) -> None: ...
|
||||
else:
|
||||
def __init__(self, use_datetime: bool = ..., use_builtin_types: bool = ..., *, context: Any | None = ...) -> None: ...
|
||||
|
||||
def make_connection(self, host: _HostType) -> http.client.HTTPSConnection: ...
|
||||
|
||||
class ServerProxy:
|
||||
@@ -292,6 +294,7 @@ class ServerProxy:
|
||||
*,
|
||||
context: Any | None = ...,
|
||||
) -> None: ...
|
||||
|
||||
def __getattr__(self, name: str) -> _Method: ...
|
||||
@overload
|
||||
def __call__(self, attr: Literal["close"]) -> Callable[[], None]: ...
|
||||
|
||||
@@ -48,6 +48,7 @@ class SimpleXMLRPCDispatcher: # undocumented
|
||||
def register_function(self, function: _DispatchProtocol | None = ..., name: str | None = ...) -> Callable[..., Any]: ...
|
||||
else:
|
||||
def register_function(self, function: _DispatchProtocol, name: str | None = ...) -> Callable[..., Any]: ...
|
||||
|
||||
def register_introspection_functions(self) -> None: ...
|
||||
def register_multicall_functions(self) -> None: ...
|
||||
def _marshaled_dispatch(
|
||||
|
||||
Reference in New Issue
Block a user