locals() => dict

Updates and returns a dictionary representing the current local symbol table.

Warning: The contents of this dictionary should not be modified; changes may not affect the values of local variables used by the interpreter.