From 202244688cb9d8de818d37a528dbfbfcca3a400c Mon Sep 17 00:00:00 2001 From: Rishabh Raj Date: Mon, 14 Apr 2014 04:09:41 +0530 Subject: [PATCH] Remove extra spaces --- doc/ext/notebook.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/ext/notebook.py b/doc/ext/notebook.py index a91c3033..01a2e94c 100644 --- a/doc/ext/notebook.py +++ b/doc/ext/notebook.py @@ -30,7 +30,7 @@ sample = """{ def remove_consecutive_duplicates(inp): - """ Remove duplicates of elements appearing consecutively. + """Remove duplicates of elements appearing consecutively. Parameters ---------- @@ -99,7 +99,7 @@ class Notebook(): self.code.append('\n') def fetch_key(self, type_of_value): - """ Find the key required for insertion into notebook. + """Find the key required for insertion into notebook. Parameters ---------- @@ -120,7 +120,7 @@ class Notebook(): return self.valuetype_to_celltype[type_of_value] def add_cell(self, segment_number, value, type_of_value='code'): - """ Adds a notebook cell. + """Adds a notebook cell. Parameters ---------- @@ -147,7 +147,7 @@ class Notebook(): self.template["worksheets"][0]["cells"][segment_number][key] = value def json(self): - """ Dumps the template JSON to string. + """Dumps the template JSON to string. Returns ------- @@ -159,7 +159,7 @@ class Notebook(): def python_to_notebook(example_file, notebook_dir, notebook_path): - """ Convert a Python file to an IPython notebook. + """Convert a Python file to an IPython notebook. Parameters ----------