Ticket #3897: 3897-minor.patch

File 3897-minor.patch, 1.9 KB (added by Alex Ghitza, 14 years ago)

apply after 3897-residue-fields-ZZ.patch

  • sage/rings/integer_ring.pyx

    # HG changeset patch
    # User Alexandru Ghitza <aghitza@alum.mit.edu>
    # Date 1221956146 -36000
    # Node ID 9644bc926fcec21dac83d2a400d0da4d17e909a9
    # Parent  f23a4b599bad6f54b7ad716ad5c87df7a87a9945
    trac #3897: fix a few typos
    
    diff -r f23a4b599bad -r 9644bc926fce sage/rings/integer_ring.pyx
    a b  
    659659
    660660    def residue_field(self, prime, check = True):
    661661        """
    662         Return the residue field of the integers modulo thegiven prime, ie $\Z/p\Z$.
     662        Return the residue field of the integers modulo the given prime, ie $\Z/p\Z$.
    663663
    664664        INPUT:
    665665            prime -- a prime number
  • sage/rings/number_field/number_field.py

    diff -r f23a4b599bad -r 9644bc926fce sage/rings/number_field/number_field.py
    a b  
    24842484
    24852485    def _normalize_prime_list(self, v):
    24862486        """
    2487         Internal function to convert into a list of primes either None
     2487        Internal function to convert into a tuple of primes either None
    24882488        or a single prime or a list.
    24892489
    24902490        EXAMPLES:
     
    43604360    def galois_closure(self, names=None):
    43614361        """
    43624362        Return the absolute number field $K$ that is the Galois
    4363         closure of this relatice number field.
     4363        closure of this relative number field.
    43644364
    43654365        EXAMPLES:
    43664366            sage: K.<a,b> = NumberField([x^4 + 3, x^2 + 2]); K
     
    64316431    OUTPUT: None.  The list is altered in-place, so that, if possible,
    64326432            the first embedding has been switched with one of the
    64336433            others, so that if there is an embedding which preserves
    6434             tha generator names then it appears first.
     6434            the generator names then it appears first.
    64356435
    64366436    EXAMPLES:
    64376437        sage: K.<a> = CyclotomicField(7)