Skip to content

Latest commit

 

History

History

module_attr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Check if hasattr(x,'some_global') returns True before the global variable is set in the module.

The answer is no.

Test:

$ python main.py