diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-01-23 09:19:22 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-01-23 09:19:22 (GMT) |
commit | 4d394dfebbcf00e7eec74ee5f4c1b149b3744a91 (patch) | |
tree | d64b9e915baa44448f28c7da48e38884367a48a9 /Doc | |
parent | 1083c248dfc55dde9901919e69bcb7fb29fbb7bf (diff) | |
download | cpython-4d394dfebbcf00e7eec74ee5f4c1b149b3744a91.zip cpython-4d394dfebbcf00e7eec74ee5f4c1b149b3744a91.tar.gz cpython-4d394dfebbcf00e7eec74ee5f4c1b149b3744a91.tar.bz2 |
Truncate st_?time before comparing it with ST_?TIME in the tests.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libos.tex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 6065725..669cc8f 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -1012,6 +1012,9 @@ objects. If newval is True, future calls to stat() return floats, if it is False, future calls return ints. If newval is omitted, return the current setting. +For compatibility with older Python versions, accessing +\class{stat_result} as a tuple always returns integers. + \versionchanged[Python now returns float values by default. Applications which do not work correctly with floating point time stamps can use this function to restore the old behaviour]{2.5} |