mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
[3.14] gh-144233: Fix typo in os.eventfd documentation (GH-144234) (#144238)
gh-144233: Fix typo in os.eventfd documentation (GH-144234) (cherry picked from commit 99821474336187eaf657740c4eb618044d83b9c7) Co-authored-by: Solomon Ritzow <11698787+ritzow@users.noreply.github.com>
This commit is contained in:
parent
4f4c20412b
commit
2097ff3e98
@ -3880,7 +3880,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…
x
Reference in New Issue
Block a user