Explain Static Variable And Static Function Python Syntax Error