Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit401032a

Browse files
[3.14]gh-63207: Updatetime.time documentation afterGH-116822 (GH-136068) (#136138)
gh-63207: Update `time.time` documentation afterGH-116822 (GH-136068)(cherry picked from commit486587d)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parente86ac72 commit401032a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎Doc/library/time.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,13 +712,18 @@ Functions
712712

713713
Clock:
714714

715-
* On Windows, call ``GetSystemTimeAsFileTime()``.
715+
* On Windows, call ``GetSystemTimePreciseAsFileTime()``.
716716
* Call ``clock_gettime(CLOCK_REALTIME)`` if available.
717717
* Otherwise, call ``gettimeofday()``.
718718

719719
Use:func:`time_ns` to avoid the precision loss caused by the:class:`float`
720720
type.
721721

722+
..versionchanged::3.13
723+
724+
On Windows, calls ``GetSystemTimePreciseAsFileTime()`` instead of
725+
``GetSystemTimeAsFileTime()``.
726+
722727

723728
..function::time_ns() -> int
724729

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp