diff --git a/Doc/library/os.rst b/Doc/library/os.rst index b3179acac0d8ea..e9ee51416bc00d 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2263,7 +2263,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 + `_ on + Windows .. attribute:: st_dev @@ -2416,6 +2422,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. + .. function:: stat_float_times([newvalue])