From e7a9b83ee7471d7dc765cec3b0adf4d65d4d952d Mon Sep 17 00:00:00 2001 From: Konstantin Baikov Date: Fri, 20 Dec 2024 00:28:19 +0100 Subject: [PATCH] Fix todo in xmlrpc client (#13124) --- stdlib/xmlrpc/client.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stdlib/xmlrpc/client.pyi b/stdlib/xmlrpc/client.pyi index 5899d1d72a38..8a306927bb1f 100644 --- a/stdlib/xmlrpc/client.pyi +++ b/stdlib/xmlrpc/client.pyi @@ -108,8 +108,7 @@ class ExpatParser: # undocumented _WriteCallback: TypeAlias = Callable[[str], object] class Marshaller: - # TODO: Replace 'Any' with some kind of binding - dispatch: dict[type[Any], Callable[[Marshaller, Any, _WriteCallback], None]] + dispatch: dict[type[_Marshallable] | Literal["_arbitrary_instance"], Callable[[Marshaller, Any, _WriteCallback], None]] memo: dict[Any, None] data: None encoding: str | None