Message237255
How about:
In Python, variables that are only referenced inside a function are implicitly
global. If a variable is assigned a value anywhere within the function's
body, it's assumed to be a local unless explicitly declared as global. |
|
Date |
User |
Action |
Args |
2015-03-05 10:18:13 | rhettinger | set | recipients:
+ rhettinger, fossilet, ezio.melotti, docs@python |
2015-03-05 10:18:13 | rhettinger | set | messageid: <1425550693.65.0.322782894319.issue23589@psf.upfronthosting.co.za> |
2015-03-05 10:18:13 | rhettinger | link | issue23589 messages |
2015-03-05 10:18:13 | rhettinger | create | |
|