Mercurial > python-cmd2
changeset 242:d36ffc16f575
adjust docstring for windows
author | catherine@dellzilla |
---|---|
date | Tue, 24 Mar 2009 15:28:04 -0400 |
parents | af17ead6449d |
children | de3e2a040279 |
files | cmd2.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <command>: 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():