[Python-ideas] Idea for new multi-line triple quote literal

nbv4 nbvfour at gmail.com
Mon Jul 1 04:49:04 CEST 2013


"dedent" is a weird word, maybe "unindent" would be better?

On Sunday, June 30, 2013 7:35:37 PM UTC-7, Haoyi Li wrote:
>
> +1 for just offering .dedent() on strings.
>
>
> On Mon, Jul 1, 2013 at 10:28 AM, Steven D'Aprano <st... at pearwood.info<javascript:>
> > wrote:
>
>> On 01/07/13 12:14, Andrew Barnert wrote:
>>
>>> On Jun 30, 2013, at 18:09, Steven D'Aprano <st... at pearwood.info<javascript:>> 
>>> wrote:
>>>
>>>  Hi nbv4, and welcome.
>>>>
>>>> On 01/07/13 10:32, nbv4 wrote:
>>>>
>>>
>>  Here is a short example of it's usage:
>>>>> https://gist.github.com/**priestc/5897602<https://gist.github.com/priestc/5897602>
>>>>>
>>>> [...]
>>
>>
>>  The proposal used backticks, not hyphens:
>>>
>>
>>
>> Wow, that's weird. They look exactly like hyphens in my browser.
>>
>>
>>
>>
>> -- 
>> Steven
>> ______________________________**_________________
>> Python-ideas mailing list
>> Python... at python.org <javascript:>
>> http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130630/ab788001/attachment.html>


More information about the Python-ideas mailing list