[Python-ideas] slice.literal notation
Joseph Jevnik
joejev at gmail.com
Thu Jun 11 00:30:22 CEST 2015
Do you think that the dropping '.literal' is worth the change in behaviour?
On Wed, Jun 10, 2015 at 6:29 PM, Greg Ewing <greg.ewing at canterbury.ac.nz>
wrote:
> David Mertz wrote:
>
> This
>> patch proposes the following change:
>>
>> slice.literal
>>
>
> It would be even nicer if the slice class itself
> implemented the [] syntax:
>
> myslice = slice[1:2]
>
> --
> Greg
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150610/c5a1a5f8/attachment.html>
More information about the Python-ideas
mailing list