def __init__(self, name, impmask):
self.name = name<EOL>self.impmask = impmask<EOL>self.module = sys.modules.setdefault(name, imp.new_module(name))<EOL>self.module.__dict__.update({'<STR_LIT>': __file__, '<STR_LIT>': [],<EOL>'<STR_LIT>': [], '<STR_LIT>': self})<EOL>sys.meta_path.append(self)<EOL>
Create a virtual package that redirects imports (see PEP 302).