Searched refs:haslf (Results 1 – 2 of 2) sorted by relevance
1622 int haslf = 0; in _io_TextIOWrapper_write_impl() local1640 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()
2237 haslf = (self._writetranslate or self._line_buffering) and "\n" in s2238 if haslf and self._writetranslate and self._writenl != "\n":2244 if self._line_buffering and (haslf or "\r" in s):