##// END OF EJS Templates
Use silly American spelling for initialised
Thomas Kluyver -
Show More
@@ -123,7 +123,7 b' def post_run_cell():'
123 pass
123 pass
124
124
125 @_define_event
125 @_define_event
126 def shell_inited(ip):
126 def shell_initialized(ip):
127 """Fires after initialisation of :class:`~IPython.core.interactiveshell.InteractiveShell`.
127 """Fires after initialisation of :class:`~IPython.core.interactiveshell.InteractiveShell`.
128
128
129 This is before extensions and startup scripts are loaded, so it can only be
129 This is before extensions and startup scripts are loaded, so it can only be
@@ -50,7 +50,7 b" __all__ = ['editor', 'fix_error_editor', 'synchronize_with_editor',"
50 'pre_run_code_hook', 'clipboard_get']
50 'pre_run_code_hook', 'clipboard_get']
51
51
52 deprecated = {'pre_run_code_hook': "a callback for the 'pre_execute' or 'pre_run_cell' event",
52 deprecated = {'pre_run_code_hook': "a callback for the 'pre_execute' or 'pre_run_cell' event",
53 'late_startup_hook': "a callback for the 'shell_inited' event",
53 'late_startup_hook': "a callback for the 'shell_initialized' event",
54 'shutdown_hook': "the atexit module",
54 'shutdown_hook': "the atexit module",
55 }
55 }
56
56
@@ -512,7 +512,7 b' class InteractiveShell(SingletonConfigurable):'
512 self.init_payload()
512 self.init_payload()
513 self.init_comms()
513 self.init_comms()
514 self.hooks.late_startup_hook()
514 self.hooks.late_startup_hook()
515 self.events.trigger('shell_inited', self)
515 self.events.trigger('shell_initialized', self)
516 atexit.register(self.atexit_operations)
516 atexit.register(self.atexit_operations)
517
517
518 def get_ipython(self):
518 def get_ipython(self):
General Comments 0
You need to be logged in to leave comments. Login now