summaryrefslogtreecommitdiffstats
path: root/src/sage/arith/srange.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/sage/arith/srange.pyx')
-rw-r--r--src/sage/arith/srange.pyx9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sage/arith/srange.pyx b/src/sage/arith/srange.pyx
index 92c0e18..d681296 100644
--- a/src/sage/arith/srange.pyx
+++ b/src/sage/arith/srange.pyx
@@ -21,12 +21,12 @@ AUTHORS:
from __future__ import division, print_function
from libc.math cimport ceil
+from cysignals.signals cimport sig_check
+
from sage.rings.integer cimport Integer
from sage.structure.element cimport parent
from sage.structure.sequence import Sequence
-include "cysignals/signals.pxi"
-
def xsrange(start, end=None, step=1, universe=None, *, coerce=True, bint include_endpoint=False, endpoint_tolerance=1e-5):
"""
@@ -214,8 +214,9 @@ def srange(*args, **kwds):
it from the built-in Python ``range`` command. The s
at the beginning of the name stands for "Sage".
- .. seealso: :func:`xsrange` -- iterator which is used to implement
- :func:`srange`.
+ .. SEEALSO::
+
+ :func:`xsrange` -- iterator which is used to implement :func:`srange`.
EXAMPLES::