[Python-checkins] closes bpo-35309: cpath should be capath (GH-10702)
Benjamin Peterson
webhook-mailer at python.org
Sun Nov 25 15:50:51 EST 2018
https://github.com/python/cpython/commit/8c1592e53a8981451f59050198da34a584160b4e
commit: 8c1592e53a8981451f59050198da34a584160b4e
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2018-11-25T14:50:46-06:00
summary:
closes bpo-35309: cpath should be capath (GH-10702)
(cherry picked from commit 158695817d736df8b18682866033c87e46252309)
Co-authored-by: Boštjan Mejak <bostjan.xperia at gmail.com>
files:
M Lib/urllib/request.py
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 96921440edea..d28f2f8369c7 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -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(
More information about the Python-checkins
mailing list