[issue33214] join method for list and tuple

Christian Heimes report at bugs.python.org
Mon Sep 16 05:46:11 EDT 2019


Christian Heimes <lists at cheimes.de> added the comment:

> in javascript join() is made the other way around
> ['1','2','3'].join(', ')
> so, [].join() may confuse some peoples.

It would be too confusing to have two different approaches to join strings in Python. Besides ECMAScript 1 came out in 1997, 5 years after Python was first released. By that argument JavaScript that should.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33214>
_______________________________________


More information about the Python-bugs-list mailing list