Skip to content

Commit ca0fb34

Browse files
authored
gh-89364: Export PySignal_SetWakeupFd() function (#121537)
Export the PySignal_SetWakeupFd() function. Previously, the function was documented but it couldn't be used in 3rd party code.
1 parent 84a5597 commit ca0fb34

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)