On Sun, 21 Dec 2025 at 23:31, Peter J. Holzer <[email protected]> wrote:
> There is the concept of "pythonic" Code (just like there is a concept of
> idiomatic code in (almost) any language), but if you ask 100 randomly
> chosen Python programmers whether the use of += is pythonic, I doubt
> that more than a handful would say no.
>

I would expect the opposite. It's in the language for a reason. Is it
somehow more Pythonic to repeat yourself?

ChrisA
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to