[Python-ideas] Operator for inserting an element into a list
mike at selik.org
Fri Jun 15 20:47:22 EDT 2018
One of those links was discussing extend, not append. The other wanted a
repeated append, best solved by a list comprehension. Neither makes a good
case for your suggestion.
On Fri, Jun 15, 2018, 5:40 PM Mikhail V <mikhailwas at gmail.com> wrote:
> On Sat, Jun 16, 2018 at 3:26 AM, Michael Selik <mike at selik.org> wrote:
> > On Fri, Jun 15, 2018, 5:24 PM Mikhail V <mikhailwas at gmail.com> wrote:
> >> there is just nothing against append() method.
> > Then why break the Zen: there should be only one obvious way?
> I think the question could be applied to 99% proposals
> >> But I see from various posts in the web and SO - people just want to
> >> it compact, and keep the 'item' part clean of brackets.
> > If you're going to cite things, please link to them.
> Want to force me to work? :)
> I made pair of links already in previous posts, not directly
> telling concrete wishes, but shows approximately the picture.
> Something more concrete maybe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas