Isn't that for 3.8 version. I have also made a different blog around PEP 572 some time ago. I will leave the link here so it is helpful for anyone wondering about :=
That's a great post. Thanks for the link. These methods do enhance classes to the best. I also made a short blog about magic methods. Could be relevant to someone reading the threads https://www.thetaranights.com/magic-methods-in-python/
This is especially true for the case of mutables. I agree it should've been mentioned on the blog. Do you mind if I add this thread to the comments section of the blog.
12 comments
[ 4.1 ms ] story [ 38.5 ms ] thread@ For matrix multiplication, equivalent to __matmul__
@= <<= >>= ^= |= Assignment operators
https://www.thetaranights.com/python-assignment-expression-p...
The ability to override operators is one of the things I miss most from Python when I'm forced to write javascript.