Ticket #14832: trac_14832-reviewer.patch

File trac_14832-reviewer.patch, 2.1 KB (added by jpflori, 10 years ago)

Reviewer patch.

  • sage/rings/polynomial/polynomial_gf2x.pyx

    # HG changeset patch
    # User Jean-Pierre Flori <jean-pierre.flori@ssi.gouv.fr>
    # Date 1373577596 -7200
    #      Thu Jul 11 23:19:56 2013 +0200
    # Node ID e1894c84a1799cb8cbea3174af2f9c5ccac6caef
    # Parent  a0a8aba9daf1dcdfe16d26e20e59fd909652702a
    Reviewer patch.
    
    diff --git a/sage/rings/polynomial/polynomial_gf2x.pyx b/sage/rings/polynomial/polynomial_gf2x.pyx
    a b  
    288288    Return the list of coefficients of the lexicographically smallest
    289289    irreducible polynomial of degree `n` over the field of 2 elements.
    290290
    291     EXAMPLE:
     291    EXAMPLE::
    292292
    293293        sage: from sage.rings.polynomial.polynomial_gf2x import GF2X_BuildIrred_list
    294294        sage: GF2X_BuildIrred_list(2)
     
    311311    Return the list of coefficients of an irreducible polynomial of
    312312    degree `n` of minimal weight over the field of 2 elements.
    313313
    314     EXAMPLE:
     314    EXAMPLE::
    315315
    316316        sage: from sage.rings.polynomial.polynomial_gf2x import GF2X_BuildIrred_list, GF2X_BuildSparseIrred_list
    317317        sage: all([GF2X_BuildSparseIrred_list(n) == GF2X_BuildIrred_list(n)
     
    331331    Return the list of coefficients of an irreducible polynomial of
    332332    degree `n` of minimal weight over the field of 2 elements.
    333333
    334     EXAMPLE:
     334    EXAMPLE::
    335335
    336336        sage: from sage.rings.polynomial.polynomial_gf2x import GF2X_BuildRandomIrred_list
    337337        sage: GF2X_BuildRandomIrred_list(2)
  • sage/rings/polynomial/polynomial_ring.py

    diff --git a/sage/rings/polynomial/polynomial_ring.py b/sage/rings/polynomial/polynomial_ring.py
    a b  
    18291829
    18301830        A monic irreducible polynomial of degree `n` in ``self``.
    18311831
    1832         EXAMPLES:
     1832        EXAMPLE::
    18331833
    18341834            sage: GF(5^3, 'a')['x'].irreducible_element(2)
    18351835            x^2 + (4*a^2 + a + 4)*x + 2*a^2 + 2
     
    21432143
    21442144        A monic irreducible polynomial of degree `n` in ``self``.
    21452145
    2146         EXAMPLES:
     2146        EXAMPLES::
    21472147
    21482148            sage: GF(5)['x'].irreducible_element(2)
    21492149            x^2 + 4*x + 2