Magical Attributes
Radomir Dopieralski | @deshipu |
---|
Have you ever wondered about what all those "something" methods are for in Python and how they work exactly? Did you need to define how an operator works on your objects, or how the loops iterate over them? Have you heard that you shouldn't use destructors in Python, and wondered why? This talk will go through all the common magical attribute names, and explain, with examples, how they work and what they are useful for.