]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix two typos in two stdlib docstrings (GH-153479) (#154252)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jul 2026 10:56:31 +0000 (12:56 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 10:56:31 +0000 (10:56 +0000)
(cherry picked from commit e0293b0de4071ca591e36fd42ef04285b91ef546)

Co-authored-by: Javad Koushyar <javadmokhtari@outlook.com>
Lib/compression/zstd/_zstdfile.py
Lib/concurrent/futures/_base.py

index c4477244e8327f996de1fac2af42d447c9d8eba2..26d7c9006375fb6227cc7892470135817386ee2c 100644 (file)
@@ -34,7 +34,7 @@ class ZstdFile(_streams.BaseStream):
                  level=None, options=None, zstd_dict=None):
         """Open a Zstandard compressed file in binary mode.
 
-        *file* can be either an file-like object, or a file name to open.
+        *file* can be either a file-like object, or a file name to open.
 
         *mode* can be 'r' for reading (default), 'w' for (over)writing, 'x'
         for creating exclusively, or 'a' for appending.  These can
index 4e71331f9a0a5946b497e608f69b4946592df9c4..43774066c5a9f004cd63d70f12cba22cad20fbf2 100644 (file)
@@ -703,5 +703,5 @@ class Executor(object):
 
 class BrokenExecutor(RuntimeError):
     """
-    Raised when a executor has become non-functional after a severe failure.
+    Raised when an executor has become non-functional after a severe failure.
     """