diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 17:07:27 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 17:07:27 (GMT) |
commit | 6285774f06f44f04353801cc79fd2a5e67f884ec (patch) | |
tree | fd38bd421fce735854ca6de4bbe0774ba0769fe8 /Doc/library/os.path.rst | |
parent | 5c997b8d90e8e531bf844f5618a203f0a12ac9dc (diff) | |
download | cpython-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.rst | 4 |
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) |