Mercurial > sqlpython
changeset 296:ba5d5483e0db
shortened docstring to avoid word wrap
author | catherine@dellzilla |
---|---|
date | Tue, 24 Mar 2009 15:25:14 -0400 |
parents | ca8db5d7c41d |
children | f4e8919c5cdf |
files | docs/source/limitations.rst sqlpython/sqlpyPlus.py |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/source/limitations.rst Tue Mar 24 15:00:44 2009 -0400 +++ b/docs/source/limitations.rst Tue Mar 24 15:25:14 2009 -0400 @@ -37,8 +37,7 @@ * ATTRIBUTE -* BREAK, BTITLE, CLEAR, COLUMN, COMPUTE, REPFOOTER, REPHEADER, and all SQL\*Plus report formatting commands. In my opinion, special sqlpython output is -much more powerful than SQL\*Plus report-formatting anyway. +* BREAK, BTITLE, CLEAR, COLUMN, COMPUTE, REPFOOTER, REPHEADER, and all SQL\*Plus report formatting commands. In my opinion, special sqlpython output is much more powerful than SQL\*Plus report-formatting anyway. * COPY (Consider using `cat {table} \\i > table.sql`, `connect -a me@otherplace`, then `@table.sql`)
--- a/sqlpython/sqlpyPlus.py Tue Mar 24 15:00:44 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Tue Mar 24 15:25:14 2009 -0400 @@ -504,11 +504,11 @@ def do_py(self, arg): ''' py <command>: Executes a Python command. - py: Enters interactive Python mode; end with `Ctrl-D`, `quit()`, or 'exit`. + py: Enters interactive Python mode; `Ctrl-D`, `quit()`, 'exit()` ends. Past SELECT results are exposed as list `r`; most recent resultset is `r[-1]`. SQL bind, substitution variables are exposed as `binds`, `substs`. - SQL and sqlpython commands can be issued with sql("your non-python command here"). + SQL and sqlpython commands can be issued with `sql("your command")`. ''' return Cmd.do_py(self, arg)