15 | 24,485 | 3,781 |
---|---|---|
articles | words | lines of code |
Dip your toes in metaprogramming and learn about __init__
's big brother, the dunder method __new__
.
Think of a number between 1 and 10. Multiply it by 9 and subtract 1. Now close your eyes. It got dark, didn't it?