diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index e9ced0bdb0d..8b1e8fc7fb9 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -347,6 +347,8 @@ is a separate error indicator for each thread. error checking. *fd* should be a valid file descriptor. The function should only be called from the main thread. + .. versionadded:: 2.6 + .. cfunction:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict) diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index 74ff78d04b3..922911789cd 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -204,6 +204,8 @@ The :mod:`signal` module defines the following functions: attempting to call it from other threads will cause a :exc:`ValueError` exception to be raised. + .. versionadded:: 2.6 + .. function:: siginterrupt(signalnum, flag)