Skip to content

Commit 839f37d

Browse files
committed
add line breaks, remove unused import
1 parent 4e155c5 commit 839f37d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/sage/matrix/matrix_gf2e_dense.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ REFERENCES:
8282
#*****************************************************************************
8383

8484
from cysignals.signals cimport sig_on, sig_off
85-
from cpython.sequence cimport PySequence_Fast
8685

8786
cimport sage.matrix.matrix_dense as matrix_dense
8887
from sage.structure.element cimport Matrix

src/sage/matrix/matrix_integer_dense.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ cdef class Matrix_integer_dense(Matrix_dense):
477477
return fmpz_is_zero(fmpz_mat_entry(self._matrix, i,j))
478478

479479
cdef copy_from_unsafe(self, Py_ssize_t iDst, Py_ssize_t jDst, src, Py_ssize_t iSrc, Py_ssize_t jSrc):
480-
"""Copy position iSrc,jSrc of ``src`` to position iDst,jDst of ``self``.
480+
"""
481+
Copy position iSrc,jSrc of ``src`` to position iDst,jDst of ``self``.
481482
482483
The object ``src`` must be of type ``Matrix_integer_dense`` and have
483484
the same base ring as ``self``.

src/sage/matrix/matrix_integer_sparse.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ cdef class Matrix_integer_sparse(Matrix_sparse):
119119
return x
120120

121121
cdef copy_from_unsafe(self, Py_ssize_t iDst, Py_ssize_t jDst, src, Py_ssize_t iSrc, Py_ssize_t jSrc):
122-
"""Copy position iSrc,jSrc of ``src`` to position iDst,jDst of ``self``.
122+
"""
123+
Copy position iSrc,jSrc of ``src`` to position iDst,jDst of ``self``.
123124
124125
The object ``src`` must be of type ``Matrix_integer_sparse`` and have
125126
the same base ring as ``self``.

0 commit comments

Comments
 (0)