Skip to content

Commit 944c17e

Browse files
committed
minor changes
1 parent d80becf commit 944c17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/shutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _fastcopy_fcopyfile(fsrc, fdst, flags):
110110
def _fastcopy_sendfile(fsrc, fdst):
111111
"""Copy data from one regular mmap-like fd to another by using
112112
high-performance sendfile(2) syscall.
113-
This should work on Linux >= 2.6.33 and Solaris only.
113+
This should work on Linux >= 2.6.33, Android and Solaris.
114114
"""
115115
# Note: copyfileobj() is left alone in order to not introduce any
116116
# unexpected breakage. Possible risks by using zero-copy calls
@@ -265,7 +265,7 @@ def copyfile(src, dst, *, follow_symlinks=True):
265265
return dst
266266
except _GiveupOnFastCopy:
267267
pass
268-
# Linux / Solaris
268+
# Linux / Android / Solaris
269269
elif _USE_CP_SENDFILE:
270270
try:
271271
_fastcopy_sendfile(fsrc, fdst)

0 commit comments

Comments
 (0)