Home
last modified time | relevance | path

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

/third_party/python/Modules/_io/
Dtextio.c1622 int haslf = 0; in _io_TextIOWrapper_write_impl() local
1640 haslf = 1; in _io_TextIOWrapper_write_impl()
1642 if (haslf && self->writetranslate && self->writenl != NULL) { in _io_TextIOWrapper_write_impl()
1654 (haslf || in _io_TextIOWrapper_write_impl()
/third_party/python/Lib/
D_pyio.py2237 haslf = (self._writetranslate or self._line_buffering) and "\n" in s
2238 if haslf and self._writetranslate and self._writenl != "\n":
2244 if self._line_buffering and (haslf or "\r" in s):