mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue