Skip to content

Commit 178b1b5

Browse files
committed
address Victor's review
1 parent 271dfd9 commit 178b1b5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Doc/library/time.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,12 +403,10 @@ Functions
403403

404404
.. note::
405405

406-
For polling, consider using :meth:`select.poll.poll(0) <select.poll.poll>`
407-
instead of ``time.sleep(0)``. To emulate a "no-op", use :keyword:`pass`.
406+
To emulate a "no-op", use :keyword:`pass` instead of ``time.sleep(0)``.
408407

409-
To voluntarily relinquish the CPU, specify a read-time :ref:`scheduling
410-
policy <os-scheduling-policy>` (see :manpage:`sched_yield(2)`) and use
411-
:func:`os.sched_yield` instead.
408+
To voluntarily relinquish the CPU, specify a real-time :ref:`scheduling
409+
policy <os-scheduling-policy>` and use :func:`os.sched_yield` instead.
412410

413411
.. audit-event:: time.sleep secs
414412

0 commit comments

Comments
 (0)