Skip to content

Commit 91a5721

Browse files
[3.14] Fix two typos in two stdlib docstrings (GH-153479) (#154253)
(cherry picked from commit e0293b0) Co-authored-by: Javad Koushyar <javadmokhtari@outlook.com>
1 parent 556062a commit 91a5721

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/compression/zstd/_zstdfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, file, /, mode='r', *,
3434
level=None, options=None, zstd_dict=None):
3535
"""Open a Zstandard compressed file in binary mode.
3636
37-
*file* can be either an file-like object, or a file name to open.
37+
*file* can be either a file-like object, or a file name to open.
3838
3939
*mode* can be 'r' for reading (default), 'w' for (over)writing, 'x'
4040
for creating exclusively, or 'a' for appending. These can

Lib/concurrent/futures/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,5 +676,5 @@ def __exit__(self, exc_type, exc_val, exc_tb):
676676

677677
class BrokenExecutor(RuntimeError):
678678
"""
679-
Raised when a executor has become non-functional after a severe failure.
679+
Raised when an executor has become non-functional after a severe failure.
680680
"""

0 commit comments

Comments
 (0)