On Wed, Feb 16, 2022 at 09:44:07AM -0300, Soni L. wrote:
> This might be a silly idea but, would it be a good idea to have
> ...[a:b:c] return a range(a, b, c)?

Similar ideas have been suggested before:

https://mail.python.org/archives/list/python-ideas@python.org/thread/W44PPBJJXETTBQHWCMJB3DRCD6CTXWJT/

https://bugs.python.org/issue42956

What benefit do you see in writing [a:b:c] instead of range(a, b, c)?



-- 
Steve
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/26HCWBERDZKAC5H2A2PAOLIMMPTDPIZW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to