Searched refs:io_module (Results 1 – 3 of 3) sorted by relevance
468 if options.io_module:469 globals()['open'] = __import__(options.io_module, {}, {}, ['open']).open
2667 PyObject *io_module = PyImport_ImportModule("io"); in zoneinfomodule_exec() local2668 if (io_module == NULL) { in zoneinfomodule_exec()2672 io_open = PyObject_GetAttrString(io_module, "open"); in zoneinfomodule_exec()2673 Py_DECREF(io_module); in zoneinfomodule_exec()
1952 io_module = Import_ImportModule("io");1953 fileobject = PyObject_CallMethod(io_module, "open", "ss", filename, "rb");