On Fri, 14 Aug 2020 at 11:10, Chris Angelico <[email protected]> wrote: > IMO the collections module isn't really right for something like that, > but if you really need a helper function for this one-liner, then I'd > say having one in your own code is perfectly reasonable.
In my experience I used it a lot, and I saw many devs online that implemented their solution or asked about it. Not sure if collections module is appropriate, but IMO an helper function will be very useful. @Steven: I continue the discussion with your objections in private. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/EH4QKKZGVVVJJT2HETVCSLCXNJRJEEF2/ Code of Conduct: http://python.org/psf/codeofconduct/
