Skip to content

Commit 20e7444

Browse files
committed
Remove unnecessary empty string
1 parent 931cc5e commit 20e7444

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/sage/combinat/cluster_algebra_quiver/cluster_seed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4460,7 +4460,7 @@ def find_upper_bound(self, verbose=False):
44604460
new_gen_found = True
44614461
if verbose:
44624462
print('Found a new element in', spend, 'seconds!')
4463-
print('')
4463+
print()
44644464
i += 1
44654465

44664466
def get_upper_cluster_algebra_element(self, a):

src/sage/logic/logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def print_table(self, table):
276276
line += s
277277
i += 1
278278
print(line)
279-
print("")
279+
print()
280280

281281
def combine(self, statement1, statement2):
282282
r"""

src/sage/rings/number_field/totallyreal_rel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def incr(self, f_out, verbose=False, haltk=0):
430430
print(k, ":", end="")
431431
for i in range(self.m + 1):
432432
print(self.a[i], end="")
433-
print("")
433+
print()
434434

435435
if k == m - 2:
436436
# We only know the value of a[n-1], the trace.

src/sage/rings/polynomial/multi_polynomial_ideal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def _groebner_basis_magma(self, deg_bound=None, prot=False, magma=magma_default)
436436
mgb = mself.GroebnerBasis()
437437

438438
if prot == "sage":
439-
print("")
439+
print()
440440
print("Highest degree reached during computation: %2d." % log_parser.max_deg)
441441

442442
# TODO: rewrite this to be much more sophisticated in multi-level nested cases.
@@ -1560,7 +1560,7 @@ def _groebner_basis_singular_raw(self, algorithm='groebner', singular=None, *arg
15601560
raise TypeError("algorithm '%s' unknown" % algorithm)
15611561
self.__gb_singular = S
15621562
if prot == "sage":
1563-
print("")
1563+
print()
15641564
print("Highest degree reached during computation: %2d." % log_parser.max_deg)
15651565
return S
15661566

src/sage/sandpiles/sandpile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5917,11 +5917,11 @@ def sandlib(selector=None):
59175917
3: [1, 2]}},
59185918
}
59195919
if selector is None:
5920-
print('')
5920+
print()
59215921
print(' Sandpiles in the sandlib:')
59225922
for i in sorted(sandpiles):
59235923
print(' ', i, ':', sandpiles[i]['description'])
5924-
print("")
5924+
print()
59255925
elif selector not in sandpiles:
59265926
print(selector, 'is not in the sandlib.')
59275927
else:

0 commit comments

Comments
 (0)