PythonFunction Pass
The pass Statement in Function
function
definitions cannot be empty, but if you for some reason have afunction
definition with no content, put in thepass
statement to avoid getting an error.
Related Pages
Python Functions TutorialFunctionCall a FunctionFunction Arguments*argsKeyword Arguments**kwargsDefault Parameter ValuePassing a List as an ArgumentFunction Return ValueFunction Recursion