[Python-ideas] Add list.join() please
Steven D'Aprano
steve at pearwood.info
Thu Jan 31 01:08:59 EST 2019
On Wed, Jan 30, 2019 at 12:37:45PM +0100, Jamesie Pic wrote:
> Thanks for your reply Jimmy ! As suggested by Chris and Steven, we
> might also want to throw in a "key" kwarg, that could be none by
> default to keep BC, but also allow typecasting:
>
> ' '.join('a', 2, key=str)
Please don't misrepresent what I said, I never suggested a key function
like that. And I don't recall Chris suggesting it either, but perhaps
I missed one of his posts.
--
Steven
More information about the Python-ideas
mailing list