[3.14] Fix two typos in two stdlib docstrings (GH-153479) (#154253)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/91a57218eab1b7384a154c8b496a9df56ecccacc
commit: 91a57218eab1b7384a154c8b496a9df56ecccacc
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-07-20T10:49:25Z
summary:

[3.14] Fix two typos in two stdlib docstrings (GH-153479) (#154253)

(cherry picked from commit e0293b0de4071ca591e36fd42ef04285b91ef546)

Co-authored-by: Javad Koushyar <[email protected]>

files:
M Lib/compression/zstd/_zstdfile.py
M Lib/concurrent/futures/_base.py

diff --git a/Lib/compression/zstd/_zstdfile.py b/Lib/compression/zstd/_zstdfile.py
index c4477244e8327f9..26d7c9006375fb6 100644
--- a/Lib/compression/zstd/_zstdfile.py
+++ b/Lib/compression/zstd/_zstdfile.py
@@ -34,7 +34,7 @@ def __init__(self, file, /, mode='r', *,
                  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
diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py
index 96156f47acc5004..43ae9c8b9014788 100644
--- a/Lib/concurrent/futures/_base.py
+++ b/Lib/concurrent/futures/_base.py
@@ -676,5 +676,5 @@ def __exit__(self, exc_type, exc_val, exc_tb):
 
 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.
     """

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.