What is `1..__truediv__` ? Does Python have a .. (“dot dot”) notation syntax?
I recently came across a syntax I never seen before when I learned python nor in most tutorials, the .. notation, it looks something like this: f = 1..__truediv__ # or 1..__div__ for python 2 print(f(8)) # prints 0.125 I figured it was exactly the same as (except it’s longer, of course): f = lambda … Read more