Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/sage_bootstrap/download/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def run():
app = Application(timeout=args.timeout, quiet=args.quiet)
if (not args.print_fastest_mirror) and (args.url_or_tarball is None):
parser.print_help()
print('')
print()
print('error: either --print-fastest-mirror or url_or_tarball is required')
sys.exit(2)
if args.print_fastest_mirror:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/cluster_algebra_quiver/cluster_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4170,7 +4170,7 @@
A seed for a cluster algebra of rank 10 of type ['E', 8, [1, 1]]
sage: S._mutation_type = S._quiver._mutation_type = None; S
A seed for a cluster algebra of rank 10
sage: S.mutation_type() # long time

Check warning on line 4173 in src/sage/combinat/cluster_algebra_quiver/cluster_seed.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, new)

Warning: slow doctest:

slow doctest:
['E', 8, [1, 1]]

- the not yet working affine type D::
Expand Down Expand Up @@ -4460,7 +4460,7 @@
new_gen_found = True
if verbose:
print('Found a new element in', spend, 'seconds!')
print('')
print()
i += 1

def get_upper_cluster_algebra_element(self, a):
Expand Down
2 changes: 1 addition & 1 deletion src/sage/logic/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def print_table(self, table):
line += s
i += 1
print(line)
print("")
print()

def combine(self, statement1, statement2):
r"""
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/number_field/totallyreal_rel.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def incr(self, f_out, verbose=False, haltk=0):
print(k, ":", end="")
for i in range(self.m + 1):
print(self.a[i], end="")
print("")
print()

if k == m - 2:
# We only know the value of a[n-1], the trace.
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/polynomial/multi_polynomial_ideal.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _groebner_basis_magma(self, deg_bound=None, prot=False, magma=magma_default)
mgb = mself.GroebnerBasis()

if prot == "sage":
print("")
print()
print("Highest degree reached during computation: %2d." % log_parser.max_deg)

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

Expand Down
4 changes: 2 additions & 2 deletions src/sage/sandpiles/sandpile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5917,11 +5917,11 @@ def sandlib(selector=None):
3: [1, 2]}},
}
if selector is None:
print('')
print()
print(' Sandpiles in the sandlib:')
for i in sorted(sandpiles):
print(' ', i, ':', sandpiles[i]['description'])
print("")
print()
elif selector not in sandpiles:
print(selector, 'is not in the sandlib.')
else:
Expand Down
2 changes: 1 addition & 1 deletion src/sage_setup/autogen/flint/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def write_flint_cython_headers(output_dir, documentation=False):
print(' ## {}'.format(section), file=output)
for func_signatures, doc in content[section]:
if documentation:
print('', file=output)
print(file=output)
for line in doc:
print(' # {}'.format(line), file=output)
for line in func_signatures:
Expand Down
Loading