mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Fix typo in whatsnew: "ns" is 10^-9 secs and "us" is 10^-6 secs. (GH-28565)
This commit is contained in:
parent
95d3137082
commit
953e733e6d
1 changed files with 2 additions and 2 deletions
|
|
@ -243,8 +243,8 @@ time
|
|||
----
|
||||
|
||||
* On Unix, :func:`time.sleep` now uses the ``clock_nanosleep()`` or
|
||||
``nanosleep()`` function, if available, which has a resolution of 1 ns (10^-6
|
||||
sec), rather than using ``select()`` which has a resolution of 1 us (10^-9
|
||||
``nanosleep()`` function, if available, which has a resolution of 1 ns (10^-9
|
||||
sec), rather than using ``select()`` which has a resolution of 1 us (10^-6
|
||||
sec).
|
||||
(Contributed by Livius and Victor Stinner in :issue:`21302`.)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue