Skip to content

Commit 3ab064e

Browse files
authored
bpo-23451: Update time.monotonic() documentation (GH-11190)
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer, time.monotonic() is now always system-wide.
1 parent 8db5b54 commit 3ab064e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Doc/library/time.rst

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -293,17 +293,9 @@ Functions
293293
The reference point of the returned value is undefined, so that only the
294294
difference between the results of consecutive calls is valid.
295295

296-
On Windows versions older than Vista, :func:`monotonic` detects
297-
:c:func:`GetTickCount` integer overflow (32 bits, roll-over after 49.7 days).
298-
It increases an internal epoch (reference time) by 2\ :sup:`32` each time
299-
that an overflow is detected. The epoch is stored in the process-local state
300-
and so the value of :func:`monotonic` may be different in two Python
301-
processes running for more than 49 days. On more recent versions of Windows
302-
and on other operating systems, :func:`monotonic` is system-wide.
303-
304296
.. versionadded:: 3.3
305297
.. versionchanged:: 3.5
306-
The function is now always available.
298+
The function is now always available and always system-wide.
307299

308300

309301
.. function:: monotonic_ns() -> int

0 commit comments

Comments
 (0)