cpython: a7560c8f38ee (original) (raw)

Mercurial > cpython

changeset 90584:a7560c8f38ee

Issue19643 Fix whitespace

Tim Golden mail@timgolden.me.uk
date Wed, 07 May 2014 18:08:08 +0100
parents 31d63ea5dffa
children 80b76c6fad44
files Doc/library/shutil.rst
diffstat 1 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Doc/library/shutil.rst 6

line wrap: on

line diff

--- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -433,12 +433,12 @@ will propagate. :: import os, stat import shutil

+ def remove_readonly(func, path, _): "Clear the readonly bit and reattempt the removal" os.chmod(path, stat.S_IWRITE)

+ shutil.rmtree(directory, onerror=remove_readonly) .. _archiving-operations: