summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoĊĦtjan Mejak <bostjan.xperia@gmail.com>2018-11-25 19:32:50 +0100
committerBenjamin Peterson <benjamin@python.org>2018-11-25 12:32:50 -0600
commit158695817d736df8b18682866033c87e46252309 (patch)
tree7c7eb4186fbdea45754381b90fc5921f541cf581
parent4bb186d7e253ad4def875305e06690181e923dfd (diff)
downloadcpython-git-158695817d736df8b18682866033c87e46252309.tar.gz
closes bpo-35309: cpath should be capath (GH-10699)
-rw-r--r--Lib/urllib/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 9d50b688a3..9a3d399f01 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -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(