add py magic method blog