Message108337
| Author |
Andreas Hofmeister |
| Recipients |
Andreas Hofmeister, mark.dickinson |
| Date |
2010年06月22日.05:11:15 |
| SpamBayes Score |
0.0011632136 |
| Marked as misclassified |
No |
| Message-id |
<1277183478.15.0.173018945896.issue9049@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|