def __load(self):
parts = self.__class_name.split('<STR_LIT:.>')<EOL>module_name = "<STR_LIT:.>".join(parts[:-<NUM_LIT:1>])<EOL>module = __import__(module_name)<EOL>modules = []<EOL>for comp in parts[<NUM_LIT:1>:]:<EOL><INDENT>module = getattr(module, comp)<EOL>modules.append(module)<EOL><DEDENT>self.__module = modules[-<NUM_LIT:2>]<EOL>
Loads dynamically the class that acts like a namespace for constants.