Message108337
Thank you for your assistance. I apologize for not examining the reference manual closely.
Is there any way to produce the desired behavior? I currently work around the local name binding like this:
def x():
a = [False]
def y():
print a[0]
a[0] = True
return y
However, using a list here seems awkward.
Thank you for your attention. |
|
Date |
User |
Action |
Args |
2010-06-22 05:11:18 | Andreas Hofmeister | set | recipients:
+ Andreas Hofmeister, mark.dickinson |
2010-06-22 05:11:18 | Andreas Hofmeister | set | messageid: <1277183478.15.0.173018945896.issue9049@psf.upfronthosting.co.za> |
2010-06-22 05:11:16 | Andreas Hofmeister | link | issue9049 messages |
2010-06-22 05:11:15 | Andreas Hofmeister | create | |
|