typeshed
typeshed copied to clipboard
Xmlrpc: accept data:str|bytes and require method:str
Two minor fixed to the typeshed:
-
datamay be bothstrandbytes; actually CPython uses it both ways -
method=Nonedoes not make much sense and should never happen :crossed_fingers:
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
@JelleZijlstra Replaced by https://github.com/python/typeshed/pull/12734 as I no longer work for @univention and thus no longer have access to the old repository/MR.