Fix some formatting for config options help

This commit is contained in:
Thomas Kluyver 2015-02-25 14:24:25 -08:00
parent 0dd26a9b32
commit 80b931897c
2 changed files with 9 additions and 9 deletions

View File

@ -87,13 +87,13 @@ class FileContentsManager(FileManagerMixin, ContentsManager):
This can be used to process the file on disk, This can be used to process the file on disk,
such as converting the notebook to a script or HTML via nbconvert. such as converting the notebook to a script or HTML via nbconvert.
It will be called as (all arguments passed by keyword): It will be called as (all arguments passed by keyword)::
hook(os_path=os_path, model=model, contents_manager=instance) hook(os_path=os_path, model=model, contents_manager=instance)
path: the filesystem path to the file just written - path: the filesystem path to the file just written
model: the model representing the file - model: the model representing the file
contents_manager: this ContentsManager instance - contents_manager: this ContentsManager instance
""" """
) )
def _post_save_hook_changed(self, name, old, new): def _post_save_hook_changed(self, name, old, new):

View File

@ -81,14 +81,14 @@ class ContentsManager(LoggingConfigurable):
such as removing notebook outputs or other side effects that such as removing notebook outputs or other side effects that
should not be saved. should not be saved.
It will be called as (all arguments passed by keyword): It will be called as (all arguments passed by keyword)::
hook(path=path, model=model, contents_manager=self) hook(path=path, model=model, contents_manager=self)
model: the model to be saved. Includes file contents. - model: the model to be saved. Includes file contents.
modifying this dict will affect the file that is stored. Modifying this dict will affect the file that is stored.
path: the API path of the save destination - path: the API path of the save destination
contents_manager: this ContentsManager instance - contents_manager: this ContentsManager instance
""" """
) )
def _pre_save_hook_changed(self, name, old, new): def _pre_save_hook_changed(self, name, old, new):