Fix typos in variable names, function names, and comments (GH-101868)

This commit is contained in:
Yang Hau 2023-12-01 17:37:40 +08:00 committed by GitHub
parent 467e3f9417
commit 707c37e373
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View file

@ -352,7 +352,7 @@ def _read_directory(archive):
with fp:
# GH-87235: On macOS all file descriptors for /dev/fd/N share the same
# file offset, reset the file offset after scanning the zipfile diretory
# file offset, reset the file offset after scanning the zipfile directory
# to not cause problems when some runs 'python3 /dev/fd/9 9<some_script'
start_offset = fp.tell()
try: