Christian Heimes <li...@cheimes.de> added the comment: join() is a bad choice, because new developers will confusing list.join with str.join.
We could turn list.extend(iterable) into list.extend(*iterable). Or you could just use extend with a chain iterator: >>> l = [] >>> l.extend(itertools.chain([1], [2], [3])) >>> l [1, 2, 3] ---------- nosy: +christian.heimes versions: +Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33214> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com