Skip to content

Commit

Permalink
Changed the instructions to reflect the change.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcolsen committed Aug 2, 2018
1 parent 041208b commit 388b436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spyder/config/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(self, name, defaults=None, load=True, version=None,
run_lines = to_text_string(self.get('ipython_console',
'startup/run_lines'))
if run_lines is not NoDefault:
run_lines = run_lines.replace(',', ';')
run_lines = run_lines.replace(',', '; ')
self.set('ipython_console',
'startup/run_lines', run_lines)
# Remove deprecated options if major version has changed
Expand Down
6 changes: 3 additions & 3 deletions spyder/plugins/ipythonconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ def setup_page(self):
run_lines_group = QGroupBox(_("Run code"))
run_lines_label = QLabel(_("You can run several lines of code when "
"a console is started. Please introduce "
"each one separated by commas, for "
"example:<br>"
"<i>import os, import sys</i>"))
"each one separated by semicolons and a "
"space, for example:<br>"
"<i>import os; import sys</i>"))
run_lines_label.setWordWrap(True)
run_lines_edit = self.create_lineedit(_("Lines:"), 'startup/run_lines',
'', alignment=Qt.Horizontal)
Expand Down

0 comments on commit 388b436

Please sign in to comment.