Ticket #12950: trac_12950-reviewer.patch

File trac_12950-reviewer.patch, 1.7 KB (added by jpflori, 7 years ago)

Reviewer patch; minor typos

  • sage/functions/trig.py

    # HG changeset patch
    # User Jean-Pierre Flori <jean-pierre.flor@ssi.gouv.fr>
    # Date 1337847098 -7200
    # Node ID 720bb75143beb757fe1db97ce7b33d7373fe3359
    # Parent  1a1f6563578aa29384db48c851905b7606119026
    Trac #12950: Reviewer patch, only minor typos
    
    diff --git a/sage/functions/trig.py b/sage/functions/trig.py
    a b  
    854854            sage: arctan2(0, -log(2)).n()
    855855            3.14159265358979
    856856
    857         Check if atan2(0,0) throws error #11423::
     857        Check if atan2(0,0) throws error of :trac:`11423`::
    858858
    859859            sage: atan2(0,0)
    860860            Traceback (most recent call last):
  • sage/symbolic/expression.pyx

    diff --git a/sage/symbolic/expression.pyx b/sage/symbolic/expression.pyx
    a b  
    16861686
    16871687    cpdef bint is_infinity(self):
    16881688        """
    1689         Return True if self is a infinite expression.
     1689        Return True if self is an infinite expression.
    16901690
    16911691        EXAMPLES::
    16921692       
     
    57135713            0.0
    57145714            sage: maxima('atan2(0,0.6)')
    57155715            0.0
    5716             sage: SR(0).arctan2(0) #11423
     5716            sage: SR(0).arctan2(0) # see trac ticket #11423
    57175717            Traceback (most recent call last):
    57185718            ...
    57195719            RuntimeError: arctan2_eval(): arctan2(0,0) encountered
  • sage/symbolic/pynac.pyx

    diff --git a/sage/symbolic/pynac.pyx b/sage/symbolic/pynac.pyx
    a b  
    571571
    572572cdef public object py_get_sfunction_from_serial(unsigned s) except +:
    573573    """
    574     Return the python object
     574    Return the Python object associated with a serial.
    575575    """
    576576    return get_sfunction_from_serial(s)
    577577