From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Nov 2018 20:51:02 +0000 (-0800) Subject: closes bpo-35309: cpath should be capath (GH-10701) X-Git-Tag: v3.7.2rc1~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a528ccb4c09933c434be1011b2f5e148170d3a1;p=thirdparty%2FPython%2Fcpython.git closes bpo-35309: cpath should be capath (GH-10701) (cherry picked from commit 158695817d736df8b18682866033c87e46252309) Co-authored-by: BoĊĦtjan Mejak --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 5b962f7dc20b..d38f725d8e9f 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(