On Sun, Feb 9, 2014 at 6:55 AM, Walter Hurry <walterhu...@gmail.com> wrote:
> When I asked (here) about this a while ago, some kind soul suggested 
> textwrap.dedent.
>
> Any advice as to the pros and cons of the respective approaches (esp. for 
> SQL)?

For SQL? Ignore the extra spaces, it's a free-form language. The only
reason to consider dedent() would be if you're worried about how your
log files will look. The actual execution of SQL won't be bothered by
newlines and spaces/tabs.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to