closes bpo-35309: cpath should be capath (GH-10701)
https://github.com/python/cpython/commit/6a528ccb4c09933c434be1011b2f5e14817... commit: 6a528ccb4c09933c434be1011b2f5e148170d3a1 branch: 3.7 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: Benjamin Peterson <benjamin@python.org> date: 2018-11-25T14:51:02-06:00 summary: closes bpo-35309: cpath should be capath (GH-10701) (cherry picked from commit 158695817d736df8b18682866033c87e46252309) Co-authored-by: BoĊĦtjan Mejak <bostjan.xperia@gmail.com> files: M Lib/urllib/request.py 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(
participants (1)
-
Benjamin Peterson