Re:WTFPython: Exploring and understanding Python through sur...
by DasIch on Tuesday May 31, 2022 @04:49AM
(#31567334)
I would read that as not implementing `__iadd__` https://docs.python.org/3/reference/datamodel.html#object.__...
[ Parent
| on HN ]
Re:WTFPython: Exploring and understanding Python through sur...
by thrdbndndn on Tuesday May 31, 2022 @04:50AM
(#31567343)
Ah I got it. So it would fallback to __add__ if __iadd__ doesn't exist.
Thanks!