##// END OF EJS Templates
minor helpstring cleanup per review.
MinRK -
Show More
@@ -240,7 +240,7 b' class InteractiveShell(SingletonConfigurable, Magic):'
240 )
240 )
241 colors = CaselessStrEnum(('NoColor','LightBG','Linux'),
241 colors = CaselessStrEnum(('NoColor','LightBG','Linux'),
242 default_value=get_default_colors(), config=True,
242 default_value=get_default_colors(), config=True,
243 help="Set the color scheme (NoColor, Linux, and LightBG)."
243 help="Set the color scheme (NoColor, Linux, or LightBG)."
244 )
244 )
245 debug = CBool(False, config=True)
245 debug = CBool(False, config=True)
246 deep_reload = CBool(False, config=True, help=
246 deep_reload = CBool(False, config=True, help=
@@ -3373,7 +3373,7 b' Defaulting color scheme to \'NoColor\'"""'
3373 from IPython.config import profile
3373 from IPython.config import profile
3374 profile_dir = os.path.dirname(profile.__file__)
3374 profile_dir = os.path.dirname(profile.__file__)
3375 ipython_dir = self.ipython_dir
3375 ipython_dir = self.ipython_dir
3376 print "Installing profiles to: %s [overwrite=%s]"(ipython_dir,overwrite)
3376 print "Installing profiles to: %s [overwrite=%s]"%(ipython_dir,overwrite)
3377 for src in os.listdir(profile_dir):
3377 for src in os.listdir(profile_dir):
3378 if src.startswith('profile_'):
3378 if src.startswith('profile_'):
3379 name = src.replace('profile_', '')
3379 name = src.replace('profile_', '')
@@ -70,8 +70,8 b' class TerminalInteractiveShell(InteractiveShell):'
70 confirm_exit = CBool(True, config=True,
70 confirm_exit = CBool(True, config=True,
71 help="""
71 help="""
72 Set to confirm when you try to exit IPython with an EOF (Control-D
72 Set to confirm when you try to exit IPython with an EOF (Control-D
73 in Unix, Control-Z/Enter in Windows). By typing 'exit', 'quit' or
73 in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',
74 '%%Exit', you can force a direct exit without any confirmation.""",
74 you can force a direct exit without any confirmation.""",
75 )
75 )
76 # This display_banner only controls whether or not self.show_banner()
76 # This display_banner only controls whether or not self.show_banner()
77 # is called when mainloop/interact are called. The default is False
77 # is called when mainloop/interact are called. The default is False
@@ -162,8 +162,8 b" addflag('color-info', 'InteractiveShell.color_info',"
162 )
162 )
163 addflag('confirm-exit', 'TerminalInteractiveShell.confirm_exit',
163 addflag('confirm-exit', 'TerminalInteractiveShell.confirm_exit',
164 """Set to confirm when you try to exit IPython with an EOF (Control-D
164 """Set to confirm when you try to exit IPython with an EOF (Control-D
165 in Unix, Control-Z/Enter in Windows). By typing 'exit', 'quit' or
165 in Unix, Control-Z/Enter in Windows). By typing 'exit' or 'quit',
166 '%%Exit', you can force a direct exit without any confirmation.""",
166 you can force a direct exit without any confirmation.""",
167 "Don't prompt the user when exiting."
167 "Don't prompt the user when exiting."
168 )
168 )
169 addflag('deep-reload', 'InteractiveShell.deep_reload',
169 addflag('deep-reload', 'InteractiveShell.deep_reload',
@@ -173,7 +173,7 b" addflag('deep-reload', 'InteractiveShell.deep_reload',"
173 use it). deep_reload() forces a full reload of modules whose code may
173 use it). deep_reload() forces a full reload of modules whose code may
174 have changed, which the default reload() function does not. When
174 have changed, which the default reload() function does not. When
175 deep_reload is off, IPython will use the normal reload(), but
175 deep_reload is off, IPython will use the normal reload(), but
176 deep_reload will still be available as dreload(). This fea- ture is off
176 deep_reload will still be available as dreload(). This feature is off
177 by default [which means that you have both normal reload() and
177 by default [which means that you have both normal reload() and
178 dreload()].""",
178 dreload()].""",
179 "Disable deep (recursive) reloading by default."
179 "Disable deep (recursive) reloading by default."
General Comments 0
You need to be logged in to leave comments. Login now