Searched refs:newline_length (Results 1 – 2 of 2) sorted by relevance
245 Py_ssize_t newline_length; in _io_open() local246 newline = PyUnicode_AsUTF8AndSize(args[5], &newline_length); in _io_open()250 if (strlen(newline) != (size_t)newline_length) { in _io_open()
250 Py_ssize_t newline_length; in _io_TextIOWrapper___init__() local251 newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length); in _io_TextIOWrapper___init__()255 if (strlen(newline) != (size_t)newline_length) { in _io_TextIOWrapper___init__()