summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-09-09 16:17:47 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-09-09 16:17:47 (GMT)
commita32c99412914058f47bc50336c7c83d38331e880 (patch)
tree26c6f7940b5b851ec50b75599e79d8890332bfe1 /Doc/lib
parent94717ed1d4e8c361656cfdfa16ccc3364073cde8 (diff)
downloadcpython-a32c99412914058f47bc50336c7c83d38331e880.zip
cpython-a32c99412914058f47bc50336c7c83d38331e880.tar.gz
cpython-a32c99412914058f47bc50336c7c83d38331e880.tar.bz2
Always generate floats for stat_result; fix configure test.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex11
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index b1adc1b..5cbeeeb 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -826,6 +826,10 @@ the \ctype{stat} structure, namely:
\member{st_ctime}
(time of most recent content modification or metadata change).
+\versionchanged [The time values are floats, measuring
+ seconds. Fractions of a second may be reported if the system
+ supports that]{2.3}
+
On some Unix systems (such as Linux), the following attributes may
also be available:
\member{st_blocks} (number of blocks allocated for file),
@@ -856,12 +860,7 @@ order
\member{st_atime},
\member{st_mtime},
\member{st_ctime}.
-More items may be added at the end by some implementations. Note that
-on the Mac OS, the time values are floating point values, like all
-time values on the Mac OS.
-\versionchanged
-[On other systems, the values are floats if the system reports
- fractions of a second]{2.3}
+More items may be added at the end by some implementations.
The standard module \refmodule{stat}\refstmodindex{stat} defines
functions and constants that are useful for extracting information
from a \ctype{stat} structure.