Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add interrupt.pyx to the reference manual
Browse files Browse the repository at this point in the history
Also add back pselect.pyx, which was removed by mistake in 4d2df6a.
  • Loading branch information
jdemeyer authored and mezzarobba committed Mar 13, 2015
1 parent cb3f90b commit 1d41ca2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/c_lib/src/interrupt.c
Expand Up @@ -132,8 +132,8 @@ void sage_interrupt_handler(int sig)
else
{
/* Set the Python interrupt indicator, which will cause the
* Python-level interrupt handler in sage/ext/c_lib.pyx to be
* called. */
* Python-level interrupt handler in sage/ext/interrupt.pyx to
* be called. */
PyErr_SetInterrupt();
}

Expand Down
3 changes: 3 additions & 0 deletions src/doc/en/reference/libs/index.rst
Expand Up @@ -67,6 +67,9 @@ to be aware of the modules described in this chapter.

sage/gsl/gsl_array

sage/ext/interrupt
sage/ext/pselect

.. Cannot be imported independently of mpmath: sage/libs/mpmath/ext_main sage/libs/mpmath/ext_impl sage/libs/mpmath/ext_libmp
.. Modules depending on optional packages: sage/libs/coxeter3/coxeter sage/libs/coxeter3/coxeter_group sage/libs/fes
Expand Down
2 changes: 1 addition & 1 deletion src/sage/ext/interrupt.pyx
@@ -1,5 +1,5 @@
r"""
Cython interface to the interrupt handling code.
Cython interface to the interrupt handling code
See ``src/sage/tests/interrupt.pyx`` for extensive tests.
Expand Down

0 comments on commit 1d41ca2

Please sign in to comment.