On Sat, Nov 12, 2016 at 5:46 PM, David Mertz <me...@gnosis.cx> wrote:

> If we *do* want the name 'slice' as the spelling for the thing that can
> either be called or indexed to create a slice object, we could probably use
> some boilerplate like this:
>

I can't stop you from doing that in your own session, but I don't want to
reuse the builtin slice object for that. If this is so useful with Pandas
maybe the Pandas library can define its own helper for this purpose.

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to