def foo(): return True print('Inside a function.')
def foo(): print('Inside a function.') return True
Used when there is some code behind a return or raise statement, which will never be accessed.
return
raise