Python Dunder Methods (Part 2): Make Your Objects Behave Like Built-ins
4h ago · 8 min read · In Part 1 we fixed the ugly memory address problem and made our objects look nice when printed. Now it’s time to level up: let’s make them support real Python operators like +, ==, len(), and even wor
Join discussion








