<s> from py . magic import greenlet <EOL> import sys <EOL> import types <EOL> def emulate ( ) : <EOL> module = types . ModuleType ( '<STR_LIT>' ) <EOL> sys . modules [ '<STR_LIT>' ] = module <EOL> module . greenlet = greenlet <EOL> module . getcurrent = greenlet . getcurrent <EOL> module . GreenletExit = greenlet . GreenletExit </s>
