mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
* urllib.parse: Make return type of unquote_from_bytes str. * urllib.parse: Reject encoding when quote is passed bytes. encoding and errors must not be supplied to quote_plus and quote if the first parameter is a bytes, or a TypeError is raised. So overload quote and do not put encoding and errors in the version where bytes is the first parameter. quote and quote_plus also allow string and safe to be of different types. Also allow that in the stubs.