Message360553
Doc says "A special quirk of Python is that -- if no :keyword:`global` statement is in A special quirk of Python is that -- if no :keyword:`global` or :keyword:`nonlocal`
effect -- assignments to names always go into the innermost scope."
nonlocal should also be mentioned along with global |
|
Date |
User |
Action |
Args |
2020-01-23 11:40:24 | shanavasm | set | recipients:
+ shanavasm, docs@python |
2020-01-23 11:40:24 | shanavasm | set | messageid: <1579779624.25.0.960153197022.issue39431@roundup.psfhosted.org> |
2020-01-23 11:40:24 | shanavasm | link | issue39431 messages |
2020-01-23 11:40:24 | shanavasm | create | |
|