[Python-ideas] Add list.join() please

Jamesie Pic jpic at yourlabs.org
Wed Jan 30 06:17:56 EST 2019


Oops, fixing my last example:

readable = mapjoin(
    'hello',
    f'__{name}__',
    sep='\n',
    # key=format_record, could be used here
)

Signature would be like (illustrating defaults): mapjoin(*args,
sep='\n', key=str)


More information about the Python-ideas mailing list