Top-rated recipes tagged "special_methods"http://code.activestate.com/recipes/tags/special_methods/top/2011-08-12T21:30:02-07:00ActiveState Code RecipesSee How __getattribute__ Interacts With Special Methods (Python) 2011-08-12T21:30:02-07:00Eric Snowhttp://code.activestate.com/recipes/users/4177816/http://code.activestate.com/recipes/577812-see-how-__getattribute__-interacts-with-special-me/ <p style="color: grey"> Python recipe 577812 by <a href="/recipes/users/4177816/">Eric Snow</a> (<a href="/recipes/tags/attributes/">attributes</a>, <a href="/recipes/tags/special_methods/">special_methods</a>). </p> <p>This recipe is how you can show that the Python operators and builtin functions directly use the special methods from an object's class, rather than using normal attribute lookup on the object.</p>