Mercurial > sqlpython
changeset 297:f4e8919c5cdf
adjust docstring for windows
author | catherine@dellzilla |
---|---|
date | Tue, 24 Mar 2009 15:28:26 -0400 |
parents | ba5d5483e0db |
children | 231964a69c0a |
files | sqlpython/sqlpyPlus.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py Tue Mar 24 15:25:14 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Tue Mar 24 15:28:26 2009 -0400 @@ -504,7 +504,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()`. Past SELECT results are exposed as list `r`; most recent resultset is `r[-1]`. SQL bind, substitution variables are exposed as `binds`, `substs`.