diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-29 09:09:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 09:09:56 (GMT) |
commit | 233b9da07d15f19c11e483e7ef7e3c73422e03f9 (patch) | |
tree | 08c0e818d225227f088851659a87f011810acb8b /Misc | |
parent | e046aabbe386fdf32bae6ffb7fae5ce479fd10c6 (diff) | |
download | cpython-233b9da07d15f19c11e483e7ef7e3c73422e03f9.zip cpython-233b9da07d15f19c11e483e7ef7e3c73422e03f9.tar.gz cpython-233b9da07d15f19c11e483e7ef7e3c73422e03f9.tar.bz2 |
[docs] Use full names for time units (GH-28611)
Use "second", "millisecond", "microsecond", "nanosecond" instead of
"sec", "ms", "msec", "us", "ns", etc.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/3.10.0a4.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/3.7.0a4.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/3.9.0b1.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-09-20-22-46-40.bpo-21302.h56430.rst | 3 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Windows/2021-06-06-16-36-13.bpo-41299.Rg-vb_.rst | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/Misc/NEWS.d/3.10.0a4.rst b/Misc/NEWS.d/3.10.0a4.rst index 57da925..ff16a70 100644 --- a/Misc/NEWS.d/3.10.0a4.rst +++ b/Misc/NEWS.d/3.10.0a4.rst @@ -786,7 +786,7 @@ Skip some asyncio tests on VxWorks. .. nonce: uzwlF_ .. section: Tests -Enhance ``test_select.test_select()``: it now takes 500 ms rather than 10 +Enhance ``test_select.test_select()``: it now takes 500 milliseconds rather than 10 seconds. Use Python rather than a shell to make the test more portable. .. diff --git a/Misc/NEWS.d/3.7.0a4.rst b/Misc/NEWS.d/3.7.0a4.rst index af9cf4d..f19d1a1 100644 --- a/Misc/NEWS.d/3.7.0a4.rst +++ b/Misc/NEWS.d/3.7.0a4.rst @@ -473,7 +473,7 @@ match. .. nonce: uxVOpk .. section: Library -Abort asyncio SSLProtocol connection if handshake not complete within 10s +Abort asyncio SSLProtocol connection if handshake not complete within 10 seconds. .. diff --git a/Misc/NEWS.d/3.9.0b1.rst b/Misc/NEWS.d/3.9.0b1.rst index 51dc9ce..529be0e 100644 --- a/Misc/NEWS.d/3.9.0b1.rst +++ b/Misc/NEWS.d/3.9.0b1.rst @@ -641,7 +641,7 @@ than alphabetical. On AIX, :func:`~time.thread_time` is now implemented with ``thread_cputime()`` which has nanosecond resolution, rather than -``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 ms. +``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 milliseconds. Patch by Batuhan Taskaya. .. diff --git a/Misc/NEWS.d/next/Library/2021-09-20-22-46-40.bpo-21302.h56430.rst b/Misc/NEWS.d/next/Library/2021-09-20-22-46-40.bpo-21302.h56430.rst index 1746d56..07f18d4 100644 --- a/Misc/NEWS.d/next/Library/2021-09-20-22-46-40.bpo-21302.h56430.rst +++ b/Misc/NEWS.d/next/Library/2021-09-20-22-46-40.bpo-21302.h56430.rst @@ -1,3 +1,4 @@ On Windows, :func:`time.sleep` now uses a waitable timer which has a resolution -of 100 ns (10\ :sup:`-7` sec). Previously, it had a solution of 1 ms (10\ :sup:`-3` sec). +of 100 nanoseconds (10\ :sup:`-7` seconds). Previously, it had a resolution of +1 millisecond (10\ :sup:`-3` seconds). Patch by Livius and Victor Stinner. diff --git a/Misc/NEWS.d/next/Windows/2021-06-06-16-36-13.bpo-41299.Rg-vb_.rst b/Misc/NEWS.d/next/Windows/2021-06-06-16-36-13.bpo-41299.Rg-vb_.rst index 71f700f..1104882 100644 --- a/Misc/NEWS.d/next/Windows/2021-06-06-16-36-13.bpo-41299.Rg-vb_.rst +++ b/Misc/NEWS.d/next/Windows/2021-06-06-16-36-13.bpo-41299.Rg-vb_.rst @@ -1 +1 @@ -Fix 16ms jitter when using timeouts in :mod:`threading`, such as with :meth:`threading.Lock.acquire` or :meth:`threading.Condition.wait`. +Fix 16 milliseconds jitter when using timeouts in :mod:`threading`, such as with :meth:`threading.Lock.acquire` or :meth:`threading.Condition.wait`. |