diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-05-29 00:24:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 00:24:36 (GMT) |
commit | 3e51a3d5927c680d5410ff11ff8d5e5bb9ffb1e7 (patch) | |
tree | a7b70bcf1c17209680bb2debf8e189beee0c4314 /Doc/library/os.rst | |
parent | be00a5583a2cb696335c527b921d1868266a42c6 (diff) | |
download | cpython-3e51a3d5927c680d5410ff11ff8d5e5bb9ffb1e7.zip cpython-3e51a3d5927c680d5410ff11ff8d5e5bb9ffb1e7.tar.gz cpython-3e51a3d5927c680d5410ff11ff8d5e5bb9ffb1e7.tar.bz2 |
bpo-32878: Adds documentation for st_ino on Windows (GH-5764)
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 4b4e931..d5bc612 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2378,7 +2378,13 @@ features: .. attribute:: st_ino - Inode number. + Platform dependent, but if non-zero, uniquely identifies the + file for a given value of ``st_dev``. Typically: + + * the inode number on Unix, + * the `file index + <https://msdn.microsoft.com/en-us/library/aa363788>`_ on + Windows .. attribute:: st_dev @@ -2537,6 +2543,10 @@ features: .. versionadded:: 3.5 Added the :attr:`st_file_attributes` member on Windows. + .. versionchanged:: 3.5 + Windows now returns the file index as :attr:`st_ino` when + available. + .. versionadded:: 3.7 Added the :attr:`st_fstype` member to Solaris/derivatives. |