summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-09-06 17:07:27 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-09-06 17:07:27 (GMT)
commit6285774f06f44f04353801cc79fd2a5e67f884ec (patch)
treefd38bd421fce735854ca6de4bbe0774ba0769fe8 /Doc/library/os.path.rst
parent5c997b8d90e8e531bf844f5618a203f0a12ac9dc (diff)
downloadcpython-6285774f06f44f04353801cc79fd2a5e67f884ec.zip
cpython-6285774f06f44f04353801cc79fd2a5e67f884ec.tar.gz
cpython-6285774f06f44f04353801cc79fd2a5e67f884ec.tar.bz2
Implement #7566 - os.path.sameopenfile for Windows.
This uses the GetFileInformationByHandle function to return a tuple of values to identify a file, then ntpath.sameopenfile compares file tuples, which is exposed as os.path.sameopenfile.
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r--Doc/library/os.path.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 317f55a..7aac5c4 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -251,7 +251,9 @@ applications should use string objects to access all files.
Return ``True`` if the file descriptors *fp1* and *fp2* refer to the same file.
- Availability: Unix.
+ Availability: Unix, Windows.
+
+ .. versionchanged:: 3.2 Added Windows support.
.. function:: samestat(stat1, stat2)