mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
drop ellipsis assignments from module vars, classvars and instance attrs (#5914)
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
@@ -97,7 +97,7 @@ class Marshaller:
|
||||
|
||||
dispatch: dict[
|
||||
Type[Any], Callable[[Marshaller, Any, Callable[[str], Any]], None]
|
||||
] = ... # TODO: Replace 'Any' with some kind of binding
|
||||
] # TODO: Replace 'Any' with some kind of binding
|
||||
|
||||
memo: dict[Any, None]
|
||||
data: None
|
||||
@@ -122,7 +122,7 @@ class Marshaller:
|
||||
|
||||
class Unmarshaller:
|
||||
|
||||
dispatch: dict[str, Callable[[Unmarshaller, str], None]] = ...
|
||||
dispatch: dict[str, Callable[[Unmarshaller, str], None]]
|
||||
|
||||
_type: str | None
|
||||
_stack: list[_Marshallable]
|
||||
@@ -212,9 +212,9 @@ class _Method: # undocumented
|
||||
|
||||
class Transport:
|
||||
|
||||
user_agent: str = ...
|
||||
accept_gzip_encoding: bool = ...
|
||||
encode_threshold: int | None = ...
|
||||
user_agent: str
|
||||
accept_gzip_encoding: bool
|
||||
encode_threshold: int | None
|
||||
|
||||
_use_datetime: bool
|
||||
_use_builtin_types: bool
|
||||
|
||||
@@ -64,8 +64,8 @@ class SimpleXMLRPCDispatcher: # undocumented
|
||||
|
||||
class SimpleXMLRPCRequestHandler(http.server.BaseHTTPRequestHandler):
|
||||
|
||||
rpc_paths: Tuple[str, str] = ...
|
||||
encode_threshold: int = ... # undocumented
|
||||
rpc_paths: Tuple[str, str]
|
||||
encode_threshold: int # undocumented
|
||||
aepattern: Pattern[str] # undocumented
|
||||
def accept_encodings(self) -> dict[str, float]: ...
|
||||
def is_rpc_path_valid(self) -> bool: ...
|
||||
@@ -76,8 +76,8 @@ class SimpleXMLRPCRequestHandler(http.server.BaseHTTPRequestHandler):
|
||||
|
||||
class SimpleXMLRPCServer(socketserver.TCPServer, SimpleXMLRPCDispatcher):
|
||||
|
||||
allow_reuse_address: bool = ...
|
||||
_send_traceback_handler: bool = ...
|
||||
allow_reuse_address: bool
|
||||
_send_traceback_handler: bool
|
||||
def __init__(
|
||||
self,
|
||||
addr: Tuple[str, int],
|
||||
|
||||
Reference in New Issue
Block a user