Home
last modified time | relevance | path

Searched refs:wmode (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Tools/scripts/
Dtreesync.py176 def copy(src, dst, rmode="rb", wmode="wb", answer='ask'): argument
182 g = open(dst, wmode)
/external/python/cpython2/Objects/
Dfileobject.c359 PyObject *wmode; in open_the_file() local
360 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()