mirror of https://github.com/python/cpython
Issue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
Fix the documentation.
This commit is contained in:
parent
33feeab598
commit
059061a237
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue