Skip to content

Commit e0293b0

Browse files
authored
Fix two typos in two stdlib docstrings (#153479)
1 parent f40b375 commit e0293b0

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
@@ -703,5 +703,5 @@ def __exit__(self, exc_type, exc_val, exc_tb):
703703

704704
class BrokenExecutor(RuntimeError):
705705
"""
706-
Raised when a executor has become non-functional after a severe failure.
706+
Raised when an executor has become non-functional after a severe failure.
707707
"""

0 commit comments

Comments
 (0)