8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
time.time
1 parent a87f3e0 commit 486587dCopy full SHA for 486587d
Doc/library/time.rst
@@ -712,13 +712,18 @@ Functions
712
713
Clock:
714
715
- * On Windows, call ``GetSystemTimeAsFileTime()``.
+ * On Windows, call ``GetSystemTimePreciseAsFileTime()``.
716
* Call ``clock_gettime(CLOCK_REALTIME)`` if available.
717
* Otherwise, call ``gettimeofday()``.
718
719
Use :func:`time_ns` to avoid the precision loss caused by the :class:`float`
720
type.
721
722
+.. versionchanged:: 3.13
723
+
724
+ On Windows, calls ``GetSystemTimePreciseAsFileTime()`` instead of
725
+ ``GetSystemTimeAsFileTime()``.
726
727
728
.. function:: time_ns() -> int
729
0 commit comments