Parcourir la source

Update comments in example launchers

Steven Silvester il y a 8 ans
Parent
commit
24c390a8d2
3 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 3 3
      examples/filebrowser/main.py
  2. 3 3
      examples/notebook/main.py
  3. 3 3
      examples/terminal/main.py

+ 3 - 3
examples/filebrowser/main.py

@@ -1,5 +1,5 @@
 """
-An example demonstrating a stand-alone "console".
+An example demonstrating a stand-alone "filebrowser".
 
 Copyright (c) Jupyter Development Team.
 Distributed under the terms of the Modified BSD License.
@@ -47,10 +47,10 @@ class MainPageHandler(tornado.web.RequestHandler):
 
 
 def main(argv):
-    """Start the 'console' example.
+    """Start the 'filebrowser' example.
 
     - Start the Tornado main event loop for the Jupyter notebook server
-    - Set up the main page event handler for the 'console' example
+    - Set up the main page event handler for the 'filebrowser' example
 
     """
     nb_command = [sys.executable, '-m', 'notebook', '--no-browser',

+ 3 - 3
examples/notebook/main.py

@@ -1,5 +1,5 @@
 """
-An example demonstrating a stand-alone "console".
+An example demonstrating a stand-alone "notebook".
 
 Copyright (c) Jupyter Development Team.
 Distributed under the terms of the Modified BSD License.
@@ -47,10 +47,10 @@ class MainPageHandler(tornado.web.RequestHandler):
 
 
 def main(argv):
-    """Start the 'console' example.
+    """Start the 'notebook' example.
 
     - Start the Tornado main event loop for the Jupyter notebook server
-    - Set up the main page event handler for the 'console' example
+    - Set up the main page event handler for the 'notebook' example
 
     """
     nb_command = [sys.executable, '-m', 'notebook', '--no-browser',

+ 3 - 3
examples/terminal/main.py

@@ -1,5 +1,5 @@
 """
-An example demonstrating a stand-alone "console".
+An example demonstrating a stand-alone "terminal".
 
 Copyright (c) Jupyter Development Team.
 Distributed under the terms of the Modified BSD License.
@@ -47,10 +47,10 @@ class MainPageHandler(tornado.web.RequestHandler):
 
 
 def main(argv):
-    """Start the 'console' example.
+    """Start the 'terminal' example.
 
     - Start the Tornado main event loop for the Jupyter notebook server
-    - Set up the main page event handler for the 'console' example
+    - Set up the main page event handler for the 'terminal' example
 
     """
     nb_command = [sys.executable, '-m', 'notebook', '--no-browser',