]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix two typos in two stdlib docstrings (GH-153479) (#154253)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jul 2026 10:49:25 +0000 (12:49 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 10:49:25 +0000 (10:49 +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 96156f47acc5004a0f419aa50770ed65139bb528..43ae9c8b9014788a19d1fea0e9fffeea4714fe56 100644 (file)
@@ -676,5 +676,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.
     """