summaryrefslogtreecommitdiff
path: root/Python/future.c
diff options
context:
space:
mode:
authorZsolt Cserna <cserna.zsolt@gmail.com>2018-10-23 12:09:50 +0200
committerVictor Stinner <vstinner@redhat.com>2018-10-23 12:09:50 +0200
commit4f399be0e70d8b5516b6213568b7665765bb3114 (patch)
tree2785a86df7076ddecc93e983ab6770fd3cd8cbbb /Python/future.c
parentb79b5c09493e98374e48fa122d82dab528fc6e72 (diff)
downloadcpython-git-4f399be0e70d8b5516b6213568b7665765bb3114.tar.gz
bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523)
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.
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions