Skip to content

Commit bbb2e37

Browse files
committed
Add a documentation entry.
1 parent a08dbf7 commit bbb2e37

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/c-api/init.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,15 @@ function. You can create and destroy them using the following functions:
15801580
If this is :c:macro:`PyInterpreterConfig_OWN_GIL` then
15811581
:c:member:`PyInterpreterConfig.use_main_obmalloc` must be ``0``.
15821582
1583+
.. c:member:: int can_handle_signals
1584+
1585+
If this is ``0``, then the interpreter will ignore incoming signals when
1586+
it is running on the main thread. These signals will instead be handled
1587+
by the next interpreter in the main thread that is capable of handling
1588+
signals.
1589+
1590+
.. versionadded:: next
1591+
15831592
15841593
.. c:function:: PyStatus Py_NewInterpreterFromConfig(PyThreadState **tstate_p, const PyInterpreterConfig *config)
15851594

0 commit comments

Comments
 (0)