[issue27420] Docs for os.link - say what happens if link already exists

2021-04-25 Thread Irit Katriel
Irit Katriel added the comment: There is a general note at the top of the module: "Note: All functions in this module raise OSError (or subclasses thereof) in the case of invalid or inaccessible file names and paths, or other arguments that have the correct type, but are not accepted by the

[issue27420] Docs for os.link - say what happens if link already exists

2016-06-30 Thread Niall Mansfield
New submission from Niall Mansfield: In os.link(source, link_name) Change Create a hard link pointing to source named link_name. to Create a hard link pointing to source named link_name. If link_name already exists, OSError is raised. -- assignee: docs@python components: