Skip to content

Commit 86cc741

Browse files
committed
add quotes, improve error message
1 parent 3950f40 commit 86cc741

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/libs/mpmath/ext_main.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ cdef class Context:
744744
faster and produces more accurate results than the builtin
745745
Python function :func:`sum`.
746746
747-
With squared=True each term is squared, and with absolute=True
747+
With ``squared=True`` each term is squared, and with ``absolute=True``
748748
the absolute value of each term is used.
749749
750750
TESTS ::
@@ -856,7 +856,7 @@ cdef class Context:
856856
MPF_clear(&sim)
857857
return +unknown
858858
except KeyboardInterrupt:
859-
raise KeyboardInterrupt('Ctlr-C has been pressed')
859+
raise KeyboardInterrupt('Ctrl-C pressed while running fsum')
860860

861861
def fdot(ctx, A, B=None, bint conjugate=False):
862862
r"""

0 commit comments

Comments
 (0)