]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-35309: cpath should be capath (GH-10699)
authorBoštjan Mejak <bostjan.xperia@gmail.com>
Sun, 25 Nov 2018 18:32:50 +0000 (19:32 +0100)
committerBenjamin Peterson <benjamin@python.org>
Sun, 25 Nov 2018 18:32:50 +0000 (12:32 -0600)
Lib/urllib/request.py

index 9d50b688a3a5b1c4e262ffefe022bd374a30057c..9a3d399f0189316b551d2aef011cbf165241f446 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(