We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b842711 commit ecb0e9cCopy full SHA for ecb0e9c
src/marker.rs
@@ -907,6 +907,9 @@ impl<'py> Python<'py> {
907
/// As Python's [`signal`][2] API allows users to define custom signal handlers, calling this
908
/// function allows arbitrary Python code inside signal handlers to run.
909
///
910
+ /// If the function is called from a non-main thread, or under a non-main Python interpreter,
911
+ /// it does nothing yet still returns `Ok(())`.
912
+ ///
913
/// [1]: https://docs.python.org/3/c-api/exceptions.html?highlight=pyerr_checksignals#c.PyErr_CheckSignals
914
/// [2]: https://docs.python.org/3/library/signal.html
915
pub fn check_signals(self) -> PyResult<()> {
0 commit comments