]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix two typos in two stdlib docstrings (#153479)
authorJavad Koushyar <javadmokhtari@outlook.com>
Mon, 20 Jul 2026 10:22:08 +0000 (05:22 -0500)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 10:22:08 +0000 (12:22 +0200)
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.
     """