Skip to content

Commit 285c54a

Browse files
committed
revert un-necessary docs updates
1 parent 7e351c9 commit 285c54a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Doc/library/os.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5411,8 +5411,6 @@ information, consult your Unix manpages.
54115411
The following scheduling policies are exposed if they are supported by the
54125412
operating system.
54135413

5414-
.. _os-scheduling-policy:
5415-
54165414
.. data:: SCHED_OTHER
54175415

54185416
The default scheduling policy.
@@ -5518,8 +5516,6 @@ operating system.
55185516

55195517
Voluntarily relinquish the CPU.
55205518

5521-
See also :manpage:`sched_yield(2)`.
5522-
55235519

55245520
.. function:: sched_setaffinity(pid, mask, /)
55255521

Doc/library/time.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,6 @@ Functions
385385
The suspension time may be longer than requested by an arbitrary amount,
386386
because of the scheduling of other activity in the system.
387387

388-
.. rubric:: Windows implementation
389-
390388
On Windows, if *secs* is zero, the thread relinquishes the remainder of its
391389
time slice to any other thread that is ready to run. If there are no other
392390
threads ready to run, the function returns immediately, and the thread
@@ -395,7 +393,7 @@ Functions
395393
<https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers>`_
396394
which provides resolution of 100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used.
397395

398-
.. rubric:: Unix implementation
396+
Unix implementation:
399397

400398
* Use ``clock_nanosleep()`` if available (resolution: 1 nanosecond);
401399
* Or use ``nanosleep()`` if available (resolution: 1 nanosecond);

0 commit comments

Comments
 (0)