having both dynamic and static variables
Corey Richardson
kb1pkl at aim.com
Sat Mar 5 22:46:13 EST 2011
On 03/05/2011 10:23 PM, MRAB wrote:
> Having a fixed binding could be useful elsewhere, for example, with
> function definitions:
> [..]
> fixed PI = 3.1415926535897932384626433832795028841971693993751
>
> fixed def squared(x):
> return x * x
This question spawns from my ignorance: When would a functions
definition change? What is the difference between a dynamic function and
a fixed function?
--
Corey Richardson
More information about the Python-list
mailing list