We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271dfd9 commit 178b1b5Copy full SHA for 178b1b5
Doc/library/time.rst
@@ -403,12 +403,10 @@ Functions
403
404
.. note::
405
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`.
+ To emulate a "no-op", use :keyword:`pass` instead of ``time.sleep(0)``.
408
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.
+ To voluntarily relinquish the CPU, specify a real-time :ref:`scheduling
+ policy <os-scheduling-policy>` and use :func:`os.sched_yield` instead.
412
413
.. audit-event:: time.sleep secs
414
0 commit comments