]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-35309: cpath should be capath (GH-10701)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 25 Nov 2018 20:51:02 +0000 (12:51 -0800)
committerBenjamin Peterson <benjamin@python.org>
Sun, 25 Nov 2018 20:51:02 +0000 (14:51 -0600)
(cherry picked from commit 158695817d736df8b18682866033c87e46252309)

Co-authored-by: BoĊĦtjan Mejak <bostjan.xperia@gmail.com>
Lib/urllib/request.py

index 5b962f7dc20b99e674802c7741b05daa2eefcb69..d38f725d8e9fe62527b05ba086abd7e03ff418ec 100644 (file)
@@ -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(