bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536)

5 files changed