Re:The unknown features of Python's `operator` module
by jonathrg on Sunday August 08, 2021 @05:20PM
(#28110209)
The point is that the function is created only once, like when you pass a lambda to map/filter/reduce or any function that takes a callback. The fact that it is assigned here is just a neccessary step for the timeit command to do the right thing
[ Parent
| on HN ]
There are no comments on this comment yet.