[Python-checkins] r82744 - in python/branches/py3k/Doc/library: os.path.rst os.rst

brian.curtin python-checkins at python.org
Fri Jul 9 17:15:09 CEST 2010


Author: brian.curtin
Date: Fri Jul  9 17:15:09 2010
New Revision: 82744

Log:
Adding versionchanged to the various Windows os.symlink additions, along
with a few minor touchups.


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

Modified: python/branches/py3k/Doc/library/os.path.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.path.rst	(original)
+++ python/branches/py3k/Doc/library/os.path.rst	Fri Jul  9 17:15:09 2010
@@ -236,11 +236,13 @@
    exception if a :func:`os.stat` call on either pathname fails.
 
    On Windows, two files are the same if they resolve to the same final path
-   name using the Windows API call GetFinalPathNameByHandle and this function
+   name using the Windows API call GetFinalPathNameByHandle. This function
    raises an exception if handles cannot be obtained to either file.
 
    Availability: Windows, Unix.
 
+   .. versionchanged:: 3.2 Added Windows support
+
 
 .. function:: sameopenfile(fp1, fp2)
 

Modified: python/branches/py3k/Doc/library/os.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.rst	(original)
+++ python/branches/py3k/Doc/library/os.rst	Fri Jul  9 17:15:09 2010
@@ -1064,8 +1064,9 @@
 .. function:: lstat(path)
 
    Like :func:`stat`, but do not follow symbolic links.  This is an alias for
-   :func:`stat` on platforms that do not support symbolic links, such as
-   Windows prior to 6.0 (Vista).
+   :func:`stat` on platforms that do not support symbolic links.
+
+   .. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
 
 
 .. function:: mkfifo(path[, mode])
@@ -1181,7 +1182,9 @@
    and the call may raise an UnicodeDecodeError. If the *path* is a bytes
    object, the result will be a bytes object.
 
-   Availability: Unix, Windows.
+   Availability: Unix, Windows
+
+   .. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
 
 
 .. function:: remove(path)
@@ -1341,8 +1344,9 @@
 
 .. function:: symlink(source, link_name)
 
-   Create a symbolic link pointing to *source* named *link_name*.  On Windows,
-   symlink version takes an additional, optional parameter,
+   Create a symbolic link pointing to *source* named *link_name*.
+
+   On Windows, symlink version takes an additional, optional parameter,
    *target_is_directory*, which defaults to False.
 
    symlink(source, link_name, target_is_directory=False)
@@ -1359,7 +1363,9 @@
    will raise a NotImplementedError on Windows versions earlier than 6.0. The
    SeCreateSymbolicLinkPrivilege is required in order to create symlinks.
 
-   Availability:  Unix, Windows 6.0.
+   Availability:  Unix, Windows
+
+   .. versionchanged:: 3.2 Added support for Windows 6.0 (Vista)
 
 
 .. function:: unlink(path)


More information about the Python-checkins mailing list