summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-07-09 15:15:09 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-07-09 15:15:09 (GMT)
commitc739569be09d4b271ae8a5d3d566254db6298c55 (patch)
tree89d18aadbcb80ad735b175f89bae2b5ec4750816
parent16633fa497caec98c5aa86afb99fb4e9c27f3b62 (diff)
downloadcpython-c739569be09d4b271ae8a5d3d566254db6298c55.zip
cpython-c739569be09d4b271ae8a5d3d566254db6298c55.tar.gz
cpython-c739569be09d4b271ae8a5d3d566254db6298c55.tar.bz2
Adding versionchanged to the various Windows os.symlink additions, along
with a few minor touchups.
-rw-r--r--Doc/library/os.path.rst4
-rw-r--r--Doc/library/os.rst18
2 files changed, 15 insertions, 7 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 7fcb2a9..b7d1a0a 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -236,11 +236,13 @@ applications should use string objects to access all files.
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)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index d8835f6..c262314 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1064,8 +1064,9 @@ Files and Directories
.. 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 @@ Files and Directories
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 @@ Files and Directories
.. 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 @@ Files and Directories
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)