8000 bpo-32878: Adds documentation for st_ino on Windows (GH-5764) · python/cpython@3e51a3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e51a3d

Browse files
authored
bpo-32878: Adds documentation for st_ino on Windows (GH-5764)
1 parent be00a55 commit 3e51a3d
10000

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Doc/library/os.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2378,7 +2378,13 @@ features:
23782378

23792379
.. attribute:: st_ino
23802380

2381-
Inode number.
2381+
Platform dependent, but if non-zero, uniquely identifies the
2382+
file for a given value of ``st_dev``. Typically:
2383+
2384+
* the inode number on Unix,
2385+
* the `file index
2386+
<https://msdn.microsoft.com/en-us/library/aa363788>`_ on
2387+
Windows
23822388

23832389
.. attribute:: st_dev
23842390

@@ -2537,6 +2543,10 @@ features:
25372543
.. versionadded:: 3.5
25382544
Added the :attr:`st_file_attributes` member on Windows.
25392545

2546+
.. versionchanged:: 3.5
2547+
Windows now returns the file index as :attr:`st_ino` when
2548+
available.
2549+
25402550
.. versionadded:: 3.7
25412551
Added the :attr:`st_fstype` member to Solaris/derivatives.
25422552

0 commit comments

Comments
 (0)
0