[Python-ideas] Add an option for delimiters in bytes.hex()

Steven D'Aprano steve at pearwood.info
Tue May 2 20:01:17 EDT 2017


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


More information about the Python-ideas mailing list