Mike Klaas <mike.klaas at gmail.com> wrote: > On 5/4/07, Baptiste Carvello <baptiste13 at altern.org> 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 <nick at craig-wood.com> -- http://www.craig-wood.com/nick
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4