]> granicus.if.org Git - python/commitdiff
Minor doc update for #9333. Took out the phrasing about os.symlink not
authorBrian Curtin <brian.curtin@gmail.com>
Tue, 28 Dec 2010 17:08:22 +0000 (17:08 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Tue, 28 Dec 2010 17:08:22 +0000 (17:08 +0000)
existing and mentioned the OSError possibility.

Doc/library/os.rst

index d8b87fd99086b1d089b70c6e123c28652c913d97..2eadccbd13534455d4d8dfa7adfc5f15cc034ff0 100644 (file)
@@ -1395,12 +1395,15 @@ Files and Directories
 
    .. note::
 
-      The *SeCreateSymbolicLinkPrivilege* is required in order to create
-      symlinks, so the function is only available when the privilege is held.
-      This privilege is not typically granted to regular users but is available
-      to accounts which can escalate privileges to the administrator level.
-      Either obtaining the privilege or running your application as an
-      administrator are ways to successfully create symlinks.
+      The *SeCreateSymbolicLinkPrivilege* is required in order to successfully
+      create symlinks. This privilege is not typically granted to regular
+      users but is available to accounts which can escalate privileges to the
+      administrator level. Either obtaining the privilege or running your
+      application as an administrator are ways to successfully create symlinks.
+
+
+      :exc:`OSError` is raised when the function is called by an unprivileged
+      user.
 
    Availability: Unix, Windows.