[Python-checkins] r87547 - python/branches/py3k/Doc/library/os.rst

brian.curtin python-checkins at python.org
Tue Dec 28 18:08:22 CET 2010


Author: brian.curtin
Date: Tue Dec 28 18:08:22 2010
New Revision: 87547

Log:
Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.


Modified:
   python/branches/py3k/Doc/library/os.rst

Modified: python/branches/py3k/Doc/library/os.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.rst	(original)
+++ python/branches/py3k/Doc/library/os.rst	Tue Dec 28 18:08:22 2010
@@ -1395,12 +1395,15 @@
 
    .. 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.
 


More information about the Python-checkins mailing list