Skip to content

Commit

Permalink
Merge pull request #20009 from sidhu1012/bracket2
Browse files Browse the repository at this point in the history
Added missing print parenthesis
  • Loading branch information
eric-wieser committed Aug 28, 2020
2 parents 1872e36 + d911bd8 commit e720a53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/advanced/pidigits.py
Expand Up @@ -23,7 +23,7 @@ def display_fraction(digits, *, skip=0, colwidth=10, columns=5):
print(line[i*colwidth: (i + 1)*colwidth],)
print(":", (linecount + 1)*perline)
if (linecount + 1) % 10 == 0:
print
print()
printed += colwidth*columns
rem = (len(digits) - skip) % (colwidth * columns)
if rem:
Expand Down
2 changes: 1 addition & 1 deletion examples/beginner/functions.py
Expand Up @@ -21,7 +21,7 @@ def main():

e = log(exp((a + b)**5))
pprint(e)
print
print()

if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion sympy/interactive/printing.py
Expand Up @@ -240,7 +240,7 @@ def _result_display(self, arg):
out = stringify_func(arg)

if '\n' in out:
print
print()

print(out)
else:
Expand Down
2 changes: 1 addition & 1 deletion sympy/utilities/iterables.py
Expand Up @@ -423,7 +423,7 @@ def _interactive_traversal(expr, stage):
for i, arg in enumerate(args):
cprint(GREEN, "[", BGREEN, i, GREEN, "] ", BLUE, type(arg), END)
pprint(arg)
print
print()

if n_args == 1:
choices = '0'
Expand Down

0 comments on commit e720a53

Please sign in to comment.