On Tue, May 02, 2017 at 10:48:08AM -0700, David Mertz wrote:

> Maybe your API is for any length tuple, with the final element repeated.
> So I guess maybe this example could be:
> 
>     "0113225551212".rchunk((2,2,3,1,2,3),'-')

That's what I meant.


-- 
Steve
_______________________________________________
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