Skip to content

Commit ca00c97

Browse files
committed
spaces in crypto, data_structures and symbolic
1 parent 539da7d commit ca00c97

File tree

8 files changed

+5
-9
lines changed

8 files changed

+5
-9
lines changed

src/sage/crypto/boolean_function.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,4 +1464,3 @@ def random_boolean_function(n):
14641464
sig_check()
14651465
T.bits[i] = r.randrange(0,Integer(1)<<(sizeof(unsigned long)*8))
14661466
return B
1467-

src/sage/crypto/sbox.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,4 +2030,3 @@ def misty_construction(*args):
20302030
64
20312031
"""
20322032
return sbox_construction(misty_substitute, list(args))
2033-

src/sage/data_structures/binary_search.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@ cdef Py_ssize_t binary_search0(Py_ssize_t* v, Py_ssize_t n, Py_ssize_t x):
6363
else: # only possibility is that v[k] == x
6464
return k
6565
return -1
66-

src/sage/data_structures/blas_dict.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,4 +448,3 @@ cpdef dict convert_remove_zeroes(dict D, R):
448448
for index in for_removal:
449449
del D[index]
450450
return D
451-

src/sage/symbolic/assumptions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,6 @@ class assuming:
883883
[x == -2, x == 2]
884884
sage: with assuming(x > 0):
885885
....: solve(x^2 == 4,x)
886-
....:
887886
[x == 2]
888887
sage: assumptions()
889888
[]

src/sage/symbolic/callable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def _repr_(self):
358358
sage: R._repr_()
359359
'Callable function ring with arguments (x, y, theta)'
360360
361-
We verify that :trac:`12298` has been fixed::
361+
We verify that :trac:`12298` has been fixed::
362362
363363
sage: S = CallableSymbolicExpressionRing([var('z')])
364364
sage: S._repr_()

src/sage/symbolic/complexity_measures.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
return a number.
77
"""
88

9+
910
def string_length(expr):
1011
"""
1112
Returns the length of ``expr`` after converting it to a string.
@@ -22,11 +23,11 @@ def string_length(expr):
2223
2324
If the expression is longer on-screen, then a human would probably
2425
consider it more complex.
25-
26+
2627
EXAMPLES:
2728
2829
This expression has three characters, ``x``, ``^``, and ``2``::
29-
30+
3031
sage: from sage.symbolic.complexity_measures import string_length
3132
sage: f = x^2
3233
sage: string_length(f)

src/sage/symbolic/expression.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11901,7 +11901,7 @@ cdef class Expression(Expression_abc):
1190111901
1190211902
Check that :trac:`33640` is fixed::
1190311903
11904-
sage: ((x + 1)^2 - 2*x - 1).factor()
11904+
sage: ((x + 1)^2 - 2*x - 1).factor()
1190511905
x^2
1190611906
"""
1190711907
from sage.calculus.calculus import symbolic_expression_from_maxima_string

0 commit comments

Comments
 (0)