Skip to content

Commit

Permalink
closes bpo-35309: cpath should be capath (GH-10702)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1586958)

Co-authored-by: Boštjan Mejak <bostjan.xperia@gmail.com>
  • Loading branch information
2 people authored and benjaminp committed Nov 25, 2018
1 parent af009fb commit 8c1592e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/urllib/request.py
Expand Up @@ -199,7 +199,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(
Expand Down

0 comments on commit 8c1592e

Please sign in to comment.