Skip to content

Commit 0504f45

Browse files
[3.13] pythongh-89364: Export PySignal_SetWakeupFd() function (pythonGH-121537) (python#121582)
pythongh-89364: Export PySignal_SetWakeupFd() function (pythonGH-121537) Export the PySignal_SetWakeupFd() function. Previously, the function was documented but it couldn't be used in 3rd party code. (cherry picked from commit ca0fb34) Co-authored-by: Victor Stinner <[email protected]>
1 parent 8c4728f commit 0504f45

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Include/cpython/pyerrors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ PyAPI_FUNC(PyObject*) PyUnstable_Exc_PrepReraiseStar(
100100

101101
/* In signalmodule.c */
102102

103-
int PySignal_SetWakeupFd(int fd);
103+
PyAPI_FUNC(int) PySignal_SetWakeupFd(int fd);
104104

105105
/* Support for adding program text to SyntaxErrors */
106106

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Export the :c:func:`PySignal_SetWakeupFd` function. Previously, the function
2+
was documented but it couldn't be used in 3rd party code. Patch by Victor
3+
Stinner.

0 commit comments

Comments
 (0)