I recently saw this code in an open source project:
def download(self, system, version, target=None, verbose=False):
#
# [some code]
#
return download(system, version, target, verbose=verbose)
The return statement above is the only one in this function. There is not base case or anything like that.
Please can anyone explain what is actually happening here. How can a function return itself?