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

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

index 96921440edea11a764371db8caf82fa4da0bf564..d28f2f8369c7461dd37cbcaf563ce115e3a41054 100644 (file)
@@ -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(