mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix several new-in-3.11 stubtest errors (#7973)
This commit is contained in:
@@ -4,7 +4,7 @@ import socketserver
|
||||
import sys
|
||||
from collections.abc import Callable, Iterable, Mapping
|
||||
from datetime import datetime
|
||||
from typing import Any, Pattern, Protocol
|
||||
from typing import Any, ClassVar, Pattern, Protocol
|
||||
from typing_extensions import TypeAlias
|
||||
from xmlrpc.client import Fault
|
||||
|
||||
@@ -68,8 +68,7 @@ class SimpleXMLRPCDispatcher: # undocumented
|
||||
def _dispatch(self, method: str, params: Iterable[_Marshallable]) -> _Marshallable: ... # undocumented
|
||||
|
||||
class SimpleXMLRPCRequestHandler(http.server.BaseHTTPRequestHandler):
|
||||
|
||||
rpc_paths: tuple[str, str]
|
||||
rpc_paths: ClassVar[tuple[str, ...]]
|
||||
encode_threshold: int # undocumented
|
||||
aepattern: Pattern[str] # undocumented
|
||||
def accept_encodings(self) -> dict[str, float]: ...
|
||||
|
||||
Reference in New Issue
Block a user