closes bpo-35309: cpath should be capath (GH-10699)
This commit is contained in:
parent
4bb186d7e2
commit
158695817d
|
@ -198,7 +198,7 @@ def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
|||
global _opener
|
||||
if cafile or capath or cadefault:
|
||||
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)
|
||||
if context is not None:
|
||||
raise ValueError(
|
||||
|
|
Loading…
Reference in New Issue