Fix typo in whatsnew: "ns" is 10^-9 secs and "us" is 10^-6 secs. (GH-28565)

This commit is contained in:
Jörn Heissler 2021-09-28 12:25:15 +02:00 committed by GitHub
parent 95d3137082
commit 953e733e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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`.)