From 91a57218eab1b7384a154c8b496a9df56ecccacc Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:49:25 +0200 Subject: [PATCH] [3.14] Fix two typos in two stdlib docstrings (GH-153479) (#154253) (cherry picked from commit e0293b0de4071ca591e36fd42ef04285b91ef546) Co-authored-by: Javad Koushyar --- Lib/compression/zstd/_zstdfile.py | 2 +- Lib/concurrent/futures/_base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/compression/zstd/_zstdfile.py b/Lib/compression/zstd/_zstdfile.py index c4477244e832..26d7c9006375 100644 --- a/Lib/compression/zstd/_zstdfile.py +++ b/Lib/compression/zstd/_zstdfile.py @@ -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 diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 96156f47acc5..43ae9c8b9014 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -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. """ -- 2.47.3