mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Fix todo in xmlrpc client (#13124)
This commit is contained in:
committed by
GitHub
parent
d31e3ea11e
commit
e7a9b83ee7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user