Lines Matching refs:keepends
509 lines = newchars.splitlines(keepends=True)
531 def readline(self, size=None, keepends=True): argument
550 if not keepends:
551 line = line.splitlines(keepends=False)[0]
568 lines = line.splitlines(keepends=True)
583 if not keepends:
584 line = line.splitlines(keepends=False)[0]
587 line0withoutend = lines[0].splitlines(keepends=False)[0]
592 if keepends:
599 if line and not keepends:
600 line = line.splitlines(keepends=False)[0]
606 def readlines(self, sizehint=None, keepends=True): argument
619 return data.splitlines(keepends)
822 return data.splitlines(keepends=True)