Skip to content

Commit

Permalink
pythongh-117764: Add a signature for signal.set_wakeup_fd()
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Apr 11, 2024
1 parent a2ae847 commit 167398d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/signalmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ signal_set_wakeup_fd(PyObject *self, PyObject *args, PyObject *kwds)
}

PyDoc_STRVAR(set_wakeup_fd_doc,
"set_wakeup_fd(fd, *, warn_on_full_buffer=True) -> fd\n\
"set_wakeup_fd($module, /, fd, *, warn_on_full_buffer=True)\n\
--\n\
\n\
Sets the fd to be written to (with the signal number) when a signal\n\
comes in. A library can use this to wakeup select or poll.\n\
Expand Down

0 comments on commit 167398d

Please sign in to comment.