[Python-ideas] Add list.join() please
Jamesie Pic
jpic at yourlabs.org
Wed Jan 30 05:07:52 EST 2019
On Wed, Jan 30, 2019 at 7:03 AM Robert Vanden Eynde
<robertve92 at gmail.com> wrote:
>>
>> Raises an error. Why should:
>>
>> “”.join([2, “2”]) not raise an error as well?
>
> I agree
What do you think could be the developer intent when they do
",".join([2, "2']) ?
If the intent is clearly to assemble a string, as it looks like, then
I don't find any disadvantage to automate this task for them.
--
∞
More information about the Python-ideas
mailing list