Python locals() Function
Definition and Usage
The locals()
function returns the local symbol table as a dictionary.
A symbol table contains necessary information about the current program.
Syntax
locals()
Parameter Values
No parameters