summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-12-28 17:08:22 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-12-28 17:08:22 (GMT)
commit9624559d1277e28885d8646ffbc03a278679dbf5 (patch)
tree9bdc46addec9561878677bb31414595ff9b3cf18 /Doc
parent164540fee1f5909364e0758bbb948ee6f7387f14 (diff)
downloadcpython-9624559d1277e28885d8646ffbc03a278679dbf5.zip
cpython-9624559d1277e28885d8646ffbc03a278679dbf5.tar.gz
cpython-9624559d1277e28885d8646ffbc03a278679dbf5.tar.bz2
Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst15
1 files changed, 9 insertions, 6 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index d8b87fd..2eadccb 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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.