@@ -842,7 +842,8 @@ are always available. They are listed here in alphabetical order. |
|
|
842 |
842 |
|
843 |
843 |
Update and return a dictionary representing the current local symbol table. |
844 |
844 |
Free variables are returned by :func:`locals` when it is called in function |
845 |
|
- blocks, but not in class blocks. |
|
845 |
+ blocks, but not in class blocks. Note that at the module level, :func:`locals` |
|
846 |
+ and :func:`globals` are the same dictionary. |
846 |
847 |
|
847 |
848 |
.. note:: |
848 |
849 |
The contents of this dictionary should not be modified; changes may not |