Message308947
| Author | steven.daprano |
|---|---|
| Recipients | docs@python, steven.daprano |
| Date | 2017-12-23.05:52:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1514008362.41.0.213398074469.issue32413@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The obvious documentation for locals() fails to mention that when called from the top level of a module (outside of a function or class body) it returns the same dict as globals(). https://docs.python.org/2/library/functions.html#locals |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-12-23 05:52:42 | steven.daprano | set | recipients: + steven.daprano, docs@python |
| 2017-12-23 05:52:42 | steven.daprano | set | messageid: <1514008362.41.0.213398074469.issue32413@psf.upfronthosting.co.za> |
| 2017-12-23 05:52:42 | steven.daprano | link | issue32413 messages |
| 2017-12-23 05:52:41 | steven.daprano | create | |