Skip to content

Commit

Permalink
Fix todo in xmlrpc client (#13124)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbaikov authored Dec 19, 2024
1 parent d31e3ea commit e7a9b83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stdlib/xmlrpc/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7a9b83

Please sign in to comment.