diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-06-12 20:46:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-06-12 20:46:37 (GMT) |
commit | 2b89fdf7eb17b5ca3928aa3c2f6552e79386c677 (patch) | |
tree | 644b67cd605fd28d1b8d676b79787cf03fd4d3df /Doc/library/time.rst | |
parent | bda4b8802c9693cd1c6f97cc09e34c4f63b030ef (diff) | |
download | cpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.zip cpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.tar.gz cpython-2b89fdf7eb17b5ca3928aa3c2f6552e79386c677.tar.bz2 |
PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() result
Fix also its value on Windows and Linux according to its documentation:
"adjustable" indicates if the clock *can be* adjusted, not if it is or was
adjusted.
In most cases, it is not possible to indicate if a clock is or was adjusted.
Diffstat (limited to 'Doc/library/time.rst')
-rw-r--r-- | Doc/library/time.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index ba6b176..2a765ac 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -255,8 +255,8 @@ The module defines the following functions and data items: The result has the following attributes: - - *adjusted*: ``True`` if the clock can be adjusted (e.g. by a NTP daemon), - ``False`` otherwise + - *adjustable*: ``True`` if the clock can be changed automatically (e.g. by + a NTP daemon) or manually by the system administrator, ``False`` otherwise - *implementation*: The name of the underlying C function used to get the clock value - *monotonic*: ``True`` if the clock cannot go backward, |