Mike Klaas <[EMAIL PROTECTED]> wrote:
>  On 5/4/07, Baptiste Carvello <[EMAIL PROTECTED]> wrote:
> 
> > maybe we could have a "dedent" literal that would remove the first newline 
> > and
> > all indentation so that you can just write:
> >
> > call_something( d'''
> >                  first part
> >                  second line
> >                  third line
> >                  ''' )
> 
>  Surely
> 
>  from textwrap import dedent as d
> 
>  is close enough?

Apart from it happening at run time rather than compile time.

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to