# HG changeset patch # User catherine@dellzilla # Date 1237922884 14400 # Node ID d36ffc16f575a1063c70dd6fbf2b3bf56c05b277 # Parent af17ead6449d7b5995f49e574a4a627409d2ac50 adjust docstring for windows diff -r af17ead6449d -r d36ffc16f575 cmd2.py --- a/cmd2.py Tue Mar 24 15:25:28 2009 -0400 +++ b/cmd2.py Tue Mar 24 15:28:04 2009 -0400 @@ -791,7 +791,8 @@ def do_py(self, arg): ''' py : Executes a Python command. - py: Enters interactive Python mode; `Ctrl-D`, `quit()`, 'exit()` ends. + py: Enters interactive Python mode. + End with `Ctrl-D` (Unix) / `Ctrl-Z` (Windows), `quit()`, 'exit()`. Non-python commands can be issued with `cmd("your command")`. ''' if arg.strip():