Issue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6

Fix the documentation.
This commit is contained in:
Victor Stinner 2011-04-18 16:34:31 +02:00
parent 33feeab598
commit 059061a237
2 changed files with 4 additions and 0 deletions

View File

@ -347,6 +347,8 @@ is a separate error indicator for each thread.
error checking. *fd* should be a valid file descriptor. The function should error checking. *fd* should be a valid file descriptor. The function should
only be called from the main thread. only be called from the main thread.
.. versionadded:: 2.6
.. cfunction:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict) .. cfunction:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict)

View File

@ -204,6 +204,8 @@ The :mod:`signal` module defines the following functions:
attempting to call it from other threads will cause a :exc:`ValueError` attempting to call it from other threads will cause a :exc:`ValueError`
exception to be raised. exception to be raised.
.. versionadded:: 2.6
.. function:: siginterrupt(signalnum, flag) .. function:: siginterrupt(signalnum, flag)