<s> """<STR_LIT>""" <EOL> import __builtin__ <EOL> _builtin_open = globals ( ) . get ( '<STR_LIT>' , __builtin__ . open ) <EOL> def _open_with_typer ( * args ) : <EOL> file = _builtin_open ( * args ) <EOL> filename = args [ <NUM_LIT:0> ] <EOL> mode = '<STR_LIT:r>' <EOL> if args [ <NUM_LIT:1> : ] : <EOL> mode = args [ <NUM_LIT:1> ] <EOL> if mode [ <NUM_LIT:0> ] == '<STR_LIT:w>' : <EOL> from ic import error , settypecreator <EOL> try : <EOL> settypecreator ( filename ) <EOL> except error : <EOL> pass <EOL> return file <EOL> __builtin__ . open = _open_with_typer <EOL> """<STR_LIT>""" </s>
