diff cmd2.py @ 241:af17ead6449d

shortened docstring to avoid word wrap
author catherine@dellzilla
date Tue, 24 Mar 2009 15:25:28 -0400
parents a31cf334bc16
children d36ffc16f575
line wrap: on
line diff
--- a/cmd2.py	Tue Mar 24 14:25:46 2009 -0400
+++ b/cmd2.py	Tue Mar 24 15:25:28 2009 -0400
@@ -791,8 +791,8 @@
     def do_py(self, arg):  
         '''
         py <command>: Executes a Python command.
-        py: Enters interactive Python mode; end with `Ctrl-D`, `quit()`, or 'exit`.
-        Non-python commands can be issued with cmd('your non-python command here').
+        py: Enters interactive Python mode; `Ctrl-D`, `quit()`, 'exit()` ends.
+        Non-python commands can be issued with `cmd("your command")`.
         '''
         if arg.strip():
             interp = InteractiveInterpreter(locals=self.pystate)