Ticket #5048: trac_5048-missingdoctest.2.patch

File trac_5048-missingdoctest.2.patch, 795 bytes (added by davidloeffler, 10 years ago)

NOT NEEDED! See comments

  • sage/modular/arithgroup/congroup_sl2z.py

    # HG changeset patch
    # User David Loeffler <d.loeffler.01@cantab.net>
    # Date 1324161046 0
    # Node ID 0844978c7b48dafff16e68a11a62366ebf9f434c
    # Parent  18b1983d298deb35d47d17b1b81f6b6e36fb1fec
    #5048: fix a missing doctest
    
    diff --git a/sage/modular/arithgroup/congroup_sl2z.py b/sage/modular/arithgroup/congroup_sl2z.py
    a b  
    9797        r"""
    9898        Create an element of self from x. If check=True (the default), check
    9999        that x really defines a 2x2 integer matrix of det 1.
     100
     101        EXAMPLES::
     102       
     103            sage: SL2Z([3,2,-2,-1]) # indirect doctest
     104            [ 3  2]
     105            [-2 -1]
    100106        """
    101107        return ArithmeticSubgroupElement(self, x, check=check)
    102108