Commit 15869581 authored by Boštjan Mejak's avatar Boštjan Mejak Committed by Benjamin Peterson

closes bpo-35309: cpath should be capath (GH-10699)

parent 4bb186d7
...@@ -198,7 +198,7 @@ def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, ...@@ -198,7 +198,7 @@ def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
global _opener global _opener
if cafile or capath or cadefault: if cafile or capath or cadefault:
import warnings import warnings
warnings.warn("cafile, cpath and cadefault are deprecated, use a " warnings.warn("cafile, capath and cadefault are deprecated, use a "
"custom context instead.", DeprecationWarning, 2) "custom context instead.", DeprecationWarning, 2)
if context is not None: if context is not None:
raise ValueError( raise ValueError(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment