Leif K-Brooks enlightened us with:
>> It also allows for dynamic function creation in cases where a name
>> would not be available.
>
> What cases are those?

An example:

def generate_randomizer(n, m):
    randomizer = def(x):
        return x ** n % m

    return randomizer

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to