https://github.com/python/cpython/commit/2097ff3e984e5e378df647920f3cad7538c24d7a
commit: 2097ff3e984e5e378df647920f3cad7538c24d7a
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-01-26T08:14:29Z
summary:

[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 <[email protected]>

files:
M Doc/library/os.rst

diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index a2d1936c45c0a7..b11126567493a9 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to