]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-144233: Fix typo in os.eventfd documentation (GH-144234) (#144238)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 Jan 2026 08:14:29 +0000 (09:14 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Jan 2026 08:14:29 +0000 (08:14 +0000)
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>
Doc/library/os.rst

index a2d1936c45c0a7678a89bc4a89784b379e88f5a5..b11126567493a934094177738d099cc1affc85ca 100644 (file)
@@ -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)