Method Inside Class Python Syntax And Semantic