Searched refs:wmode (Results 1 – 2 of 2) sorted by relevance
176 def copy(src, dst, rmode="rb", wmode="wb", answer='ask'): argument182 g = open(dst, wmode)
359 PyObject *wmode; in open_the_file() local360 wmode = PyUnicode_DecodeASCII(newmode, strlen(newmode), NULL); in open_the_file()361 if (f->f_name && wmode) { in open_the_file()366 PyUnicode_AS_UNICODE(wmode)); in open_the_file()369 Py_XDECREF(wmode); in open_the_file()