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

This commit is contained in:
Boštjan Mejak 2018-11-25 19:32:50 +01:00 committed by Benjamin Peterson
parent 4bb186d7e2
commit 158695817d
1 changed files with 1 additions and 1 deletions

View File

@ -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(