]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-144233: Fix typo in os.eventfd documentation (#144234)
authorSolomon Ritzow <11698787+ritzow@users.noreply.github.com>
Mon, 26 Jan 2026 08:07:56 +0000 (00:07 -0800)
committerGitHub <noreply@github.com>
Mon, 26 Jan 2026 08:07:56 +0000 (10:07 +0200)
Doc/library/os.rst

index 31c0964cda0f272be619fe8f5cab281ed1d6ffa1..dad54c0e82bbc209373e3f53c21050769abd9474 100644 (file)
@@ -4262,7 +4262,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)