[Python-checkins] closes bpo-35309: cpath should be capath (GH-10699)

Benjamin Peterson webhook-mailer at python.org
Sun Nov 25 13:32:53 EST 2018


https://github.com/python/cpython/commit/158695817d736df8b18682866033c87e46252309
commit: 158695817d736df8b18682866033c87e46252309
branch: master
author: Boštjan Mejak <bostjan.xperia at gmail.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2018-11-25T12:32:50-06:00
summary:

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

files:
M Lib/urllib/request.py

diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 9d50b688a3a5..9a3d399f0189 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(



More information about the Python-checkins mailing list