Skip to content

Commit

Permalink
minor helpstring cleanup per review.
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jun 7, 2011
1 parent c577f34 commit d9bc319
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion IPython/core/interactiveshell.py
Expand Up @@ -240,7 +240,7 @@ class InteractiveShell(SingletonConfigurable, Magic):
) )
colors = CaselessStrEnum(('NoColor','LightBG','Linux'), colors = CaselessStrEnum(('NoColor','LightBG','Linux'),
default_value=get_default_colors(), config=True, default_value=get_default_colors(), config=True,
help="Set the color scheme (NoColor, Linux, and LightBG)." help="Set the color scheme (NoColor, Linux, or LightBG)."
) )
debug = CBool(False, config=True) debug = CBool(False, config=True)
deep_reload = CBool(False, config=True, help= deep_reload = CBool(False, config=True, help=
Expand Down
2 changes: 1 addition & 1 deletion IPython/core/magic.py
Expand Up @@ -3343,7 +3343,7 @@ def magic_install_profiles(self, s):
from IPython.config import profile from IPython.config import profile
profile_dir = os.path.dirname(profile.__file__) profile_dir = os.path.dirname(profile.__file__)
ipython_dir = self.ipython_dir ipython_dir = self.ipython_dir
print "Installing profiles to: %s [overwrite=%s]"(ipython_dir,overwrite) print "Installing profiles to: %s [overwrite=%s]"%(ipython_dir,overwrite)
for src in os.listdir(profile_dir): for src in os.listdir(profile_dir):
if src.startswith('profile_'): if src.startswith('profile_'):
name = src.replace('profile_', '') name = src.replace('profile_', '')
Expand Down
4 changes: 2 additions & 2 deletions IPython/frontend/terminal/interactiveshell.py
Expand Up @@ -70,8 +70,8 @@ class TerminalInteractiveShell(InteractiveShell):
confirm_exit = CBool(True, config=True, confirm_exit = CBool(True, config=True,
help=""" help="""
Set to confirm when you try to exit IPython with an EOF (Control-D Set to confirm when you try to exit IPython with an EOF (Control-D
in Unix, Control-Z/Enter in Windows). By typing 'exit', 'quit' or in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',
'%%Exit', you can force a direct exit without any confirmation.""", you can force a direct exit without any confirmation.""",
) )
# This display_banner only controls whether or not self.show_banner() # This display_banner only controls whether or not self.show_banner()
# is called when mainloop/interact are called. The default is False # is called when mainloop/interact are called. The default is False
Expand Down
6 changes: 3 additions & 3 deletions IPython/frontend/terminal/ipapp.py
Expand Up @@ -162,8 +162,8 @@ def make_report(self,traceback):
) )
addflag('confirm-exit', 'TerminalInteractiveShell.confirm_exit', addflag('confirm-exit', 'TerminalInteractiveShell.confirm_exit',
"""Set to confirm when you try to exit IPython with an EOF (Control-D """Set to confirm when you try to exit IPython with an EOF (Control-D
in Unix, Control-Z/Enter in Windows). By typing 'exit', 'quit' or in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',
'%%Exit', you can force a direct exit without any confirmation.""", you can force a direct exit without any confirmation.""",
"Don't prompt the user when exiting." "Don't prompt the user when exiting."
) )
addflag('deep-reload', 'InteractiveShell.deep_reload', addflag('deep-reload', 'InteractiveShell.deep_reload',
Expand All @@ -173,7 +173,7 @@ def make_report(self,traceback):
use it). deep_reload() forces a full reload of modules whose code may use it). deep_reload() forces a full reload of modules whose code may
have changed, which the default reload() function does not. When have changed, which the default reload() function does not. When
deep_reload is off, IPython will use the normal reload(), but deep_reload is off, IPython will use the normal reload(), but
deep_reload will still be available as dreload(). This fea- ture is off deep_reload will still be available as dreload(). This feature is off
by default [which means that you have both normal reload() and by default [which means that you have both normal reload() and
dreload()].""", dreload()].""",
"Disable deep (recursive) reloading by default." "Disable deep (recursive) reloading by default."
Expand Down

0 comments on commit d9bc319

Please sign in to comment.