Skip to content

Commit

Permalink
Fix bare print calls that were missing '()'.
Browse files Browse the repository at this point in the history
These were causing a missing newline on exit.

Closes ipythongh-637, slightly modified from the original version, as there
was one more print elsewhere in the file.
  • Loading branch information
tomspur authored and fperez committed Jul 30, 2011
1 parent 31452d5 commit 38c425a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def raw_input_multi(header='', ps1='==> ', ps2='..> ',terminate_str = '.'):

return lines[:-1] # don't return the termination command
except EOFError:
print
print()
return lines


Expand Down Expand Up @@ -232,7 +232,7 @@ def ask_yes_no(prompt,default=None):
except EOFError:
if default in answers.keys():
ans = default
print
print()
else:
raise

Expand Down

0 comments on commit 38c425a

Please sign in to comment.