A Python closure is a nested function which has access to a free variable from an enclosing function that has finished its execution.