mirror of
https://github.com/python/cpython.git
synced 2026-02-07 02:10:37 +00:00
[3.13] gh-144233: Fix typo in os.eventfd documentation (GH-144234) (#144237)
gh-144233: Fix typo in os.eventfd documentation (GH-144234)
(cherry picked from commit 9982147433)
Co-authored-by: Solomon Ritzow <11698787+ritzow@users.noreply.github.com>
This commit is contained in:
parent
f738386838
commit
ef5bc9ec9b
1 changed files with 1 additions and 1 deletions
|
|
@ -3807,7 +3807,7 @@ features:
|
|||
import os
|
||||
|
||||
# semaphore with start value '1'
|
||||
fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFC_CLOEXEC)
|
||||
fd = os.eventfd(1, os.EFD_SEMAPHORE | os.EFD_CLOEXEC)
|
||||
try:
|
||||
# acquire semaphore
|
||||
v = os.eventfd_read(fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue