Ticket #12396: 12396.patch

File 12396.patch, 2.2 KB (added by roed, 10 years ago)
  • sage/coding/linear_code.py

    # HG changeset patch
    # User David Roe <roed@math.harvard.edu>
    # Date 1327971097 28800
    # Node ID 2b0c676f530d297aede555b6524fe3940fdbadc1
    # Parent  0d60b33a836463a25fe74d48707423b6da540254
    #12396: these whitespace changes are needed for the new doctest framework
    
    diff --git a/sage/coding/linear_code.py b/sage/coding/linear_code.py
    a b  
    15181518            sage: S8 = SymmetricGroup(8)
    15191519            sage: g = S8("(2,3)")
    15201520            sage: C.is_permutation_automorphism(g)
    1521             1 
     1521            1
    15221522            sage: g = S8("(1,2,3,4)")
    15231523            sage: C.is_permutation_automorphism(g)
    15241524            0
  • sage/databases/jones.py

    diff --git a/sage/databases/jones.py b/sage/databases/jones.py
    a b  
    128128                sage: J = JonesDatabase()
    129129                sage: J._init()   # not tested
    130130                ...
    131             This takes about 5 seconds.
     131               
     132        This takes about 5 seconds.
    132133        """
    133134        from sage.misc.misc import sage_makedirs
    134135        n = 0
  • sage/ext/gen_interpreters.py

    diff --git a/sage/ext/gen_interpreters.py b/sage/ext/gen_interpreters.py
    a b  
    13791379            sage: print mc.handle_cleanup()
    13801380            for i in range(self._n_registers):
    13811381                Py_CLEAR(self._registers[i])
    1382             <BLANKLINE>        """
     1382            <BLANKLINE>
     1383        """
    13831384        # XXX This is a lot slower than it needs to be, because
    13841385        # we don't have a "cdef int i" in scope here.
    13851386        return je("""
  • sage/homology/simplicial_complex_morphism.py

    diff --git a/sage/homology/simplicial_complex_morphism.py b/sage/homology/simplicial_complex_morphism.py
    a b  
    226226            sage: g(Simplex([0,1]))
    227227            (0, 1)
    228228            sage: g(Simplex([0,1]), orientation=True)
    229             ((0, 1), -1)        """
     229            ((0, 1), -1)
     230        """
    230231        dim = self._domain.dimension()
    231232        if not isinstance(x,simplicial_complex.Simplex) or x.dimension() > dim or not x in self._domain.faces()[x.dimension()]:
    232233            raise ValueError, "x must be a simplex of the source of f"