The Correct Way to Overload Functions in Python