# HG changeset patch # User catherine@dellzilla # Date 1237922728 14400 # Node ID af17ead6449d7b5995f49e574a4a627409d2ac50 # Parent a31cf334bc16e00f254d7fcb26ab862d66e7a9a4 shortened docstring to avoid word wrap diff -r a31cf334bc16 -r af17ead6449d cmd2.py --- 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 : 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)