• Zsolt Cserna's avatar
    [3.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) (GH-10065) · 861f61b5
    Zsolt Cserna yazdı
    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 4f399be0)
    861f61b5
shutil.py 40.4 KB