'Returns the infile = ... line of code to make a BufferedReader.'

def _generate_infile_setup_code(self):

    return 'infile    =    io.open(sys.stdin.fileno(),    "rb")    ;import    _io    ;assert    isinstance(infile,    _io.BufferedReader)'
