Searched refs:iomod (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Python/ |
D | pylifecycle.c | 1824 PyObject *iomod = NULL, *wrapper; in init_sys_streams() local 1850 if (!(iomod = PyImport_ImportModule("io"))) { in init_sys_streams() 1853 if (!(wrapper = PyObject_GetAttrString(iomod, "OpenWrapper"))) { in init_sys_streams() 1926 std = create_stdio(iomod, fd, 0, "<stdin>", encoding, errors); in init_sys_streams() 1935 std = create_stdio(iomod, fd, 1, "<stdout>", encoding, errors); in init_sys_streams() 1945 std = create_stdio(iomod, fd, 1, "<stderr>", encoding, "backslashreplace"); in init_sys_streams() 1997 Py_XDECREF(iomod); in init_sys_streams()
|
/external/python/cpython3/Lib/test/ |
D | test_io.py | 3398 iomod = self.io.__name__ 3413 """.format(iomod=iomod, kwargs=kwargs)
|