@@ -4572,7 +4572,7 @@ Naturally, they are all only available on Linux.
45724572 - :const: `time.CLOCK_BOOTTIME ` (Since Linux 3.15 for timerfd_create)
45734573
45744574 If *clockid * is :const: `time.CLOCK_REALTIME `, a settable system-wide
4575- real-time clock is used. If system clock is changed, timer setting need
4575+ real-time clock is used. If system clock is changed, timer setting needs
45764576 to be updated. To cancel timer when system clock is changed, see
45774577 :const: `TFD_TIMER_CANCEL_ON_SET `.
45784578
@@ -4592,8 +4592,8 @@ Naturally, they are all only available on Linux.
45924592
45934593 If :const: `TFD_NONBLOCK ` is not set as a flag, :func: `read ` blocks until
45944594 the timer expires. If it is set as a flag, :func: `read ` doesn't block, but
4595- If there hasn't been an expiration since the last call to read,
4596- :func: `read ` raises :class: `OSError ` with ``errno `` is set to
4595+ if there hasn't been an expiration since the last call to read,
4596+ :func: `read ` raises :class: `OSError ` with ``errno `` set to
45974597 :const: `errno.EAGAIN `.
45984598
45994599 :const: `TFD_CLOEXEC ` is always set by Python automatically.
@@ -4623,12 +4623,11 @@ Naturally, they are all only available on Linux.
46234623 - :const: `TFD_TIMER_CANCEL_ON_SET `
46244624
46254625 The timer is disabled by setting *initial * to zero (``0 ``).
4626- If *initial * is equal to or greater than zero, the timer is enabled.
4626+ If *initial * is greater than zero, the timer is enabled.
46274627 If *initial * is less than zero, it raises an :class: `OSError ` exception
4628- with ``errno `` set to :const: `errno.EINVAL `
4628+ with ``errno `` set to :const: `errno.EINVAL `.
46294629
46304630 By default the timer will fire when *initial * seconds have elapsed.
4631- (If *initial * is zero, timer will fire immediately.)
46324631
46334632 However, if the :const: `TFD_TIMER_ABSTIME ` flag is set,
46344633 the timer will fire when the timer's clock
@@ -4639,7 +4638,7 @@ Naturally, they are all only available on Linux.
46394638 If *interval * is greater than zero, the timer fires every time *interval *
46404639 seconds have elapsed since the previous expiration.
46414640 If *interval * is less than zero, it raises :class: `OSError ` with ``errno ``
4642- set to :const: `errno.EINVAL `
4641+ set to :const: `errno.EINVAL `.
46434642
46444643 If the :const: `TFD_TIMER_CANCEL_ON_SET ` flag is set along with
46454644 :const: `TFD_TIMER_ABSTIME ` and the clock for this timer is
0 commit comments