]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in whatsnew: "ns" is 10^-9 secs and "us" is 10^-6 secs. (GH-28565)
authorJörn Heissler <joernheissler@users.noreply.github.com>
Tue, 28 Sep 2021 10:25:15 +0000 (12:25 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Sep 2021 10:25:15 +0000 (13:25 +0300)
Doc/whatsnew/3.11.rst

index 818208edbf26317df3c2944ab03e3e1c30e6cf11..7121bbe35310d6742f6dfe1864c4d90168bbdf94 100644 (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`.)