locals
locals() => dict
Updates and returns a dictionary representing the current local symbol table.
Warning: The contents of this dictionary should not be modified; whether changes affect the values of local variables used by the interpreter is implementation dependent.
