summaryrefslogtreecommitdiffstats
path: root/Lib/SocketServer.py
diff options
context:
space:
mode:
authorZsolt Cserna <cserna.zsolt@gmail.com>2018-10-24 21:22:27 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-10-24 21:22:27 (GMT)
commit4a59c9699ca8688359c460f98127a12e2db6e63b (patch)
tree43e7a10b039eb555917e870a0d55ce5d6e0fce2f /Lib/SocketServer.py
parenta1f45ec73f0486b187633e7ebc0a4f559d29d7d9 (diff)
downloadcpython-4a59c9699ca8688359c460f98127a12e2db6e63b.zip
cpython-4a59c9699ca8688359c460f98127a12e2db6e63b.tar.gz
cpython-4a59c9699ca8688359c460f98127a12e2db6e63b.tar.bz2
[2.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) (GH-10071)
Fix the documentation of copy2, as it does not copy file ownership (user and group), only mode, mtime, atime and flags. The original text was confusing to developers as it suggested that this command is the same as 'cp -p', but according to cp(1), '-p' copies file ownership as well. Clarify which metadata is copied by shutil.copystat in its docstring. (cherry picked from commit 4f399be0e70d8b5516b6213568b7665765bb3114)
Diffstat (limited to 'Lib/SocketServer.py')
0 files changed, 0 insertions, 0 deletions