Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions 10 Doc/library/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,17 +293,9 @@ Functions
The reference point of the returned value is undefined, so that only the
difference between the results of consecutive calls is valid.

On Windows versions older than Vista, :func:`monotonic` detects
:c:func:`GetTickCount` integer overflow (32 bits, roll-over after 49.7 days).
It increases an internal epoch (reference time) by 2\ :sup:`32` each time
that an overflow is detected. The epoch is stored in the process-local state
and so the value of :func:`monotonic` may be different in two Python
processes running for more than 49 days. On more recent versions of Windows
and on other operating systems, :func:`monotonic` is system-wide.

.. versionadded:: 3.3
.. versionchanged:: 3.5
The function is now always available.
The function is now always available and always system-wide.


.. function:: monotonic_ns() -> int
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.