summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-10-24 09:02:00 (GMT)
committerGitHub <noreply@github.com>2017-10-24 09:02:00 (GMT)
commit01b5aab7bfb11ee5476ef52d24495598cbe7c99a (patch)
treed21899c9bf7a80014b9e14bd27c0cf88ed6da290 /Doc/library/os.path.rst
parent87d332dcdbffe8ff60d99f74b1ad241c0967b055 (diff)
downloadcpython-01b5aab7bfb11ee5476ef52d24495598cbe7c99a.zip
cpython-01b5aab7bfb11ee5476ef52d24495598cbe7c99a.tar.gz
cpython-01b5aab7bfb11ee5476ef52d24495598cbe7c99a.tar.bz2
bpo-31827: Remove os.stat_float_times() (GH-4061)
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r--Doc/library/os.path.rst10
1 files changed, 2 insertions, 8 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 38a9331..06d4ece 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -192,23 +192,17 @@ the :mod:`glob` module.)
.. function:: getatime(path)
- Return the time of last access of *path*. The return value is a number giving
+ Return the time of last access of *path*. The return value is a floating point number giving
the number of seconds since the epoch (see the :mod:`time` module). Raise
:exc:`OSError` if the file does not exist or is inaccessible.
- If :func:`os.stat_float_times` returns ``True``, the result is a floating point
- number.
-
.. function:: getmtime(path)
- Return the time of last modification of *path*. The return value is a number
+ Return the time of last modification of *path*. The return value is a floating point number
giving the number of seconds since the epoch (see the :mod:`time` module).
Raise :exc:`OSError` if the file does not exist or is inaccessible.
- If :func:`os.stat_float_times` returns ``True``, the result is a floating point
- number.
-
.. versionchanged:: 3.6
Accepts a :term:`path-like object`.