-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-134538: link to example for windows readonly file handling in function docs #135540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-134538: link to example for windows readonly file handling in function docs #135540
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@zooba or @chris-eibl: As Windows experts, would either of you like to look at this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. A link to an example is always a good thing.
It's not particularly a Windows-specific example, so it seems like mentioning that might put people off reading it. It's a good example of using the error callback. Also I think we tend to use just "See ..." for examples, rather than "See Also" callouts. But that's a question for the docs WG. |
96a60bb
to
1bd0a48
Compare
Agree. Removed Windows mention |
Thanks @alex-semenyuk for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ythonGH-135540) (cherry picked from commit e9b647d) Co-authored-by: alexey semenyuk <[email protected]>
GH-135691 is a backport of this pull request to the 3.14 branch. |
…ythonGH-135540) (cherry picked from commit e9b647d) Co-authored-by: alexey semenyuk <[email protected]>
GH-135692 is a backport of this pull request to the 3.13 branch. |
) (cherry picked from commit e9b647d) Co-authored-by: alexey semenyuk <[email protected]>
) (cherry picked from commit e9b647d) Co-authored-by: alexey semenyuk <[email protected]>
Link to example for windows readonly file handling in function docs
📚 Documentation preview 📚: https://cpython-previews--135540.org.readthedocs.build/en/135540/library/shutil.html#shutil.rmtree