Fix typos in comments and docstring (#122720)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Xie Yanbo
2024-08-07 14:39:16 +08:00
committed by GitHub
parent 98dba73010
commit b6c80e21c7
9 changed files with 11 additions and 11 deletions

View File

@@ -149,7 +149,7 @@ def _fastcopy_sendfile(fsrc, fdst):
try:
sent = os.sendfile(outfd, infd, offset, blocksize)
except OSError as err:
# ...in oder to have a more informative exception.
# ...in order to have a more informative exception.
err.filename = fsrc.name
err.filename2 = fdst.name