Skip to content

Commit 167398d

Browse files
pythongh-117764: Add a signature for signal.set_wakeup_fd()
1 parent a2ae847 commit 167398d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Modules/signalmodule.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,8 @@ signal_set_wakeup_fd(PyObject *self, PyObject *args, PyObject *kwds)
821821
}
822822

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

0 commit comments

Comments
 (0)