]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-144233: Fix typo in os.eventfd documentation (GH-144234) (#144237)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 Jan 2026 08:16:06 +0000 (09:16 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Jan 2026 08:16:06 +0000 (08:16 +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 3685074a495fc4bdb2eddd4506505d6900fac74e..0177887110e0e65e53b58ec2db1827f8b950c1da 100644 (file)
@@ -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)