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

Haoyi Li haoyi.sg at gmail.com
Mon Jul 1 04:35:37 CEST 2013


+1 for just offering .dedent() on strings.


On Mon, Jul 1, 2013 at 10:28 AM, Steven D'Aprano <steve at pearwood.info>wrote:

> On 01/07/13 12:14, Andrew Barnert wrote:
>
>> On Jun 30, 2013, at 18:09, Steven D'Aprano <steve at pearwood.info> 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-ideas at python.org
> 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/20130701/ea4deffa/attachment-0001.html>


More information about the Python-ideas mailing list