globals

C'est le nom d'une fonction qui rend les couples nom valeur du dictionnaires des variables de portée globale (global scope), à savoir celle du module __main__.

Contradiction???

Return a dictionary representing the current global symbol table. This is always the dictionary of the current module (inside a function or method, this is the module where it is defined, not the module from which it is called).

Portée globale par opposition à portée locale.

» Glossaire du langage python