Ticket #5061: 5061-doc.patch

File 5061-doc.patch, 1012 bytes (added by John Palmieri, 14 years ago)

apply on top of other patch

  • sage/algebras/steenrod_algebra_element.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1235674021 28800
    # Node ID 3947e15f39537e39140abb555c6ca7d1cba3739d
    # Parent  aac9256fde7cee87fac430b48e2e03d44cc47ea5
    doc patch for #5061
    
    diff -r aac9256fde7c -r 3947e15f3953 sage/algebras/steenrod_algebra_element.py
    a b  
    18071807
    18081808    def additive_order(self):
    18091809        """
    1810         The additive order of any element of the mod p Steenrod algebra is
    1811         p.
     1810        The additive order of any nonzero element of the mod p
     1811        Steenrod algebra is p.
    18121812       
    18131813        OUTPUT:
    18141814       
     
    18211821            sage: z = Sq(4) + Sq(6) + Sq(0)
    18221822            sage: z.additive_order()
    18231823            2
     1824            sage: (Sq(3) + Sq(3)).additive_order()
     1825            1
    18241826        """
    18251827        if len(self._raw['milnor']) == 0:
    18261828            return 1