]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-63207: Update `time.time` documentation after #116822 (#136068)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Mon, 30 Jun 2025 16:10:24 +0000 (17:10 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Jun 2025 16:10:24 +0000 (18:10 +0200)
Doc/library/time.rst

index 542493a82af94d42393da3ee91101da0972b672a..29b695a9b193d6ebb36a82dc9f223b55f1ab7c7b 100644 (file)
@@ -712,13 +712,18 @@ Functions
 
    Clock:
 
-   * On Windows, call ``GetSystemTimeAsFileTime()``.
+   * On Windows, call ``GetSystemTimePreciseAsFileTime()``.
    * Call ``clock_gettime(CLOCK_REALTIME)`` if available.
    * Otherwise, call ``gettimeofday()``.
 
    Use :func:`time_ns` to avoid the precision loss caused by the :class:`float`
    type.
 
+.. versionchanged:: 3.13
+
+   On Windows, calls ``GetSystemTimePreciseAsFileTime()`` instead of
+   ``GetSystemTimeAsFileTime()``.
+
 
 .. function:: time_ns() -> int