If an expression list is present, it is evaluated, else
return leaves the current function call with the expression
None) as return value.
In a generator function, the return statement is not allowed to include an expression_list. In that context, a bare return indicates that the generator is done and will cause StopIteration to be raised.
See About this document... for information on suggesting changes.