Skip to content

Commit

Permalink
Update Lib/urllib/request.py
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Meyer <[email protected]>
  • Loading branch information
eendebakpt and carljm authored May 18, 2022
1 parent d3feb07 commit b9ab037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/urllib/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -2522,7 +2522,7 @@ def getproxies_environment():
if value:
proxies[proxy_name] = value
else:
proxies.pop(name_lower[:-6], None)
proxies.pop(proxy_name, None)
return proxies

def proxy_bypass_environment(host, proxies=None):
Expand Down

0 comments on commit b9ab037

Please sign in to comment.